Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/src/custom-action/close_application.cpp

Issue 6003395731128320: Only take into account processes that have our plugin loaded (Closed)
Patch Set: Addressing comments Created March 28, 2014, 12:45 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « installer/installer.gyp ('k') | installer/src/installer-lib/process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: installer/src/custom-action/close_application.cpp
===================================================================
--- a/installer/src/custom-action/close_application.cpp
+++ b/installer/src/custom-action/close_application.cpp
@@ -23,10 +23,11 @@
static const wchar_t * ie_names[] ;
static const wchar_t * engine_names[] ;
+ static const wchar_t * abp_module_names[] ;
public:
IE_Closer()
- : snapshot(), ie_closer( snapshot, ie_names, 1 ), engine_closer( snapshot, engine_names, 1 )
+ : snapshot(), ie_closer( snapshot, ie_names, 1, abp_module_names, 2 ), engine_closer( snapshot, engine_names, 1, NULL, 0 )
{}
void refresh()
@@ -61,6 +62,7 @@
const wchar_t * IE_Closer::ie_names[] = { L"IExplore.exe" } ;
const wchar_t * IE_Closer::engine_names[] = { L"AdblockPlusEngine.exe" } ;
+const wchar_t * IE_Closer::abp_module_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll" } ;
//-------------------------------------------------------
// abp_close_ie
« no previous file with comments | « installer/installer.gyp ('k') | installer/src/installer-lib/process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld