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

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

Issue 4790070691233792: Case-insensitive string class (Closed)
Patch Set: Created March 30, 2014, 7:49 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 | « no previous file | installer/src/installer-lib/process.h » ('j') | installer/src/installer-lib/process.h » ('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
@@ -21,12 +21,12 @@
Process_Closer engine_closer ;
- static const wchar_t * ie_names[] ;
- static const wchar_t * engine_names[] ;
+ static const wchar_t * ie_names[ 1 ] ;
+ static const wchar_t * engine_names[ 1 ] ;
Wladimir Palant 2014/03/31 05:58:35 Style nit: excessive whitespace. There should be n
public:
IE_Closer()
- : snapshot(), ie_closer( snapshot, ie_names, 1 ), engine_closer( snapshot, engine_names, 1 )
+ : snapshot(), ie_closer( snapshot, ie_names ), engine_closer( snapshot, engine_names )
Wladimir Palant 2014/03/31 05:58:35 Style nit: excessive whitespace. There should be n
{}
void refresh()
@@ -59,8 +59,8 @@
}
} ;
-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::ie_names[ 1 ] = { L"IExplore.exe" } ;
+const wchar_t * IE_Closer::engine_names[ 1 ] = { L"AdblockPlusEngine.exe" } ;
//-------------------------------------------------------
// abp_close_ie
« no previous file with comments | « no previous file | installer/src/installer-lib/process.h » ('j') | installer/src/installer-lib/process.h » ('J')

Powered by Google App Engine
This is Rietveld