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

Unified Diff: installer/src/installer-lib/test/test-installer-lib-sandbox.cpp

Issue 6003395731128320: Only take into account processes that have our plugin loaded (Closed)
Patch Set: Changes for x64 custom action and addressing comments Created March 27, 2014, 11:22 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
Index: installer/src/installer-lib/test/test-installer-lib-sandbox.cpp
===================================================================
--- a/installer/src/installer-lib/test/test-installer-lib-sandbox.cpp
+++ b/installer/src/installer-lib/test/test-installer-lib-sandbox.cpp
@@ -80,8 +80,9 @@
{
session.log( "log_IE_window_handles" ) ;
const wchar_t * IE_names[] = { L"IExplore.exe", L"AdblockPlusEngine.exe" } ;
+ const wchar_t * ABP_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll" } ;
Snapshot snapshot ;
- Process_Closer iec( snapshot, IE_names, 2 ) ;
+ Process_Closer iec( snapshot, IE_names, 2, ABP_names, 2) ;
log_single_window_handle_only_if_IE lp( session, iec ) ;
enumerate_windows( lp ) ;
}
@@ -93,8 +94,9 @@
{
session.log( "log_only_window_handle_in_closer" ) ;
const wchar_t * IE_names[] = { L"IExplore.exe", L"AdblockPlusEngine.exe" } ;
+ const wchar_t * ABP_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll" } ;
Snapshot snapshot ;
- Process_Closer iec( snapshot, IE_names, 2 ) ;
+ Process_Closer iec( snapshot, IE_names, 2, ABP_names, 2) ;
iec.iterate_our_windows( log_single_window_handle( session ) ) ;
}

Powered by Google App Engine
This is Rietveld