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

Side by Side Diff: installer/src/custom-action/close_application.cpp

Issue 5665210325008384: Combine snapshot classes into a template class (Closed)
Patch Set: Created April 3, 2014, 4:51 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | installer/src/installer-lib/handle.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * \file close_application.cpp 2 * \file close_application.cpp
3 */ 3 */
4 4
5 #include <algorithm> 5 #include <algorithm>
6 6
7 #include "session.h" 7 #include "session.h"
8 #include "property.h" 8 #include "property.h"
9 #include "database.h" 9 #include "database.h"
10 #include "process.h" 10 #include "process.h"
11 #include "interaction.h" 11 #include "interaction.h"
12 #include "custom-i18n.h" 12 #include "custom-i18n.h"
13 13
14 const wchar_t * ie_names[] = { L"IExplore.exe" } ; 14 const wchar_t * ie_names[] = { L"IExplore.exe" } ;
15 const wchar_t * engine_names[] = { L"AdblockPlusEngine.exe" } ; 15 const wchar_t * engine_names[] = { L"AdblockPlusEngine.exe" } ;
16 const wchar_t * abp_module_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll " } ; 16 const wchar_t * abp_module_names[] = { L"AdblockPlus32.dll", L"AdblockPlus64.dll " } ;
17 17
18
19 //------------------------------------------------------- 18 //-------------------------------------------------------
20 //------------------------------------------------------- 19 //-------------------------------------------------------
21 class IE_Closer 20 class IE_Closer
22 { 21 {
23 Snapshot snapshot ; 22 Process_Snapshot snapshot ;
24 23
25 Process_Closer ie_closer ; 24 Process_Closer ie_closer ;
26 25
27 Process_Closer engine_closer ; 26 Process_Closer engine_closer ;
28 27
29 public: 28 public:
30 IE_Closer() 29 IE_Closer()
31 : snapshot(), ie_closer( snapshot, ie_names, abp_module_names), engine_close r( snapshot, engine_names ) 30 : snapshot(), ie_closer( snapshot, ie_names, abp_module_names), engine_close r( snapshot, engine_names )
32 {} 31 {}
33 32
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 return TRUE ; 450 return TRUE ;
452 } 451 }
453 452
454 /** 453 /**
455 * Windows_List 454 * Windows_List
456 */ 455 */
457 class Window_List { 456 class Window_List {
458 public: 457 public:
459 void enumerate_top_level(); 458 void enumerate_top_level();
460 }; 459 };
OLDNEW
« no previous file with comments | « no previous file | installer/src/installer-lib/handle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld