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

Side by Side Diff: installer/src/installer-lib/process.h

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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 /** 1 /**
2 * \file process.h 2 * \file process.h
3 */ 3 */
4 4
5 #ifndef PROCESS_H 5 #ifndef PROCESS_H
6 #define PROCESS_H 6 #define PROCESS_H
7 7
8 #include "installer-lib.h" 8 #include "installer-lib.h"
9 #include "handle.h" 9 #include "handle.h"
10 #include "session.h"
10 11
11 #include <string> 12 #include <string>
12 #include <cctype> 13 #include <cctype>
13 #include <vector> 14 #include <vector>
14 #include <set> 15 #include <set>
15 #include <algorithm> 16 #include <algorithm>
16 #include <memory> 17 #include <memory>
17 18
18 #include <Windows.h> 19 #include <Windows.h>
19 #include <TlHelp32.h> 20 #include <TlHelp32.h>
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 template< class F > 680 template< class F >
680 bool iterate_our_windows( F f ) 681 bool iterate_our_windows( F f )
681 { 682 {
682 only_our_processes< F > g( * this, f ) ; 683 only_our_processes< F > g( * this, f ) ;
683 return enumerate_windows( g ) ; 684 return enumerate_windows( g ) ;
684 } 685 }
685 686
686 /* 687 /*
687 * Shut down every process in the pid_set. 688 * Shut down every process in the pid_set.
688 */ 689 */
689 bool ShutDown() ; 690 bool ShutDown(ImmediateSession& session);
690 691
691 } ; 692 } ;
692 693
693 #endif 694 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld