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

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

Issue 6219169376763904: Issue #1686 - Kill iexplore.exe and AdblockplusEngine.exe processes from the installer (Closed)
Patch Set: Log error Created April 13, 2015, 4:43 a.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 | « no previous file | installer/src/installer-lib/process.h » ('j') | installer/src/installer-lib/process.cpp » ('J')
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
@@ -41,15 +41,15 @@
return browserCloser.IsRunning() || engineCloser.IsRunning() ;
}
- bool ShutDown()
+ bool ShutDown(ImmediateSession& session)
{
- if ( browserCloser.IsRunning() && ! browserCloser.ShutDown() )
+ if ( browserCloser.IsRunning() && ! browserCloser.ShutDown(session) )
{
// Assert IE is still running
// This is after we've tried to shut it down, so we fail
return false ;
}
- if ( engineCloser.IsRunning() && ! engineCloser.ShutDown() )
+ if ( engineCloser.IsRunning() && ! engineCloser.ShutDown(session) )
{
// Assert the engine is still running
// This is after IE has shut down itself and after we've tried to shut down the engine. Whatever.
@@ -372,7 +372,7 @@
* Failed && not interactive -> Goto abort
*/
{
- bool ieWasClosed = iec.ShutDown() ;
+ bool ieWasClosed = iec.ShutDown(session) ;
if ( iec.IsRunning() )
{
session.Log( "Attempt to shut down IE automatically failed." ) ;
« no previous file with comments | « no previous file | installer/src/installer-lib/process.h » ('j') | installer/src/installer-lib/process.cpp » ('J')

Powered by Google App Engine
This is Rietveld