Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(892)

Side by Side Diff: ceee/common/install_utils.h

Issue 5965012: Change "enable-ceee" to "ceee" to match the installer.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ceee/common/install_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Utilities related to installation of the CEEE. 5 // Utilities related to installation of the CEEE.
6 6
7 #ifndef CEEE_COMMON_INSTALL_UTILS_H_ 7 #ifndef CEEE_COMMON_INSTALL_UTILS_H_
8 #define CEEE_COMMON_INSTALL_UTILS_H_ 8 #define CEEE_COMMON_INSTALL_UTILS_H_
9 9
10 // This is the only way we define DllRegisterServer in CEEE. 10 // This is the only way we define DllRegisterServer in CEEE.
(...skipping 12 matching lines...) Expand all
23 STDAPI DllRegisterServer(void) { \ 23 STDAPI DllRegisterServer(void) { \
24 if (!ceee_install_utils::ShouldRegisterCeee()) { \ 24 if (!ceee_install_utils::ShouldRegisterCeee()) { \
25 return S_OK; \ 25 return S_OK; \
26 } else { \ 26 } else { \
27 return DllRegisterServerImpl(); \ 27 return DllRegisterServerImpl(); \
28 } \ 28 } \
29 } 29 }
30 30
31 namespace ceee_install_utils { 31 namespace ceee_install_utils {
32 32
33 // Returns true if the --enable-ceee flag was passed to the process 33 // Returns true if the --ceee flag was passed to the process
34 // that loaded this DLL, or if the process loading the DLL is 34 // that loaded this DLL, or if the process loading the DLL is
35 // regsvr32 (i.e. it's a developer that explicitly wants to register). 35 // regsvr32 (i.e. it's a developer that explicitly wants to register).
36 bool ShouldRegisterCeee(); 36 bool ShouldRegisterCeee();
37 37
38 // Returns true if the --enable-ff-ceee flag was passed to the process 38 // Returns true if the --enable-ff-ceee flag was passed to the process
39 // that loaded this DLL in addition to the --enable-ceee flag, or if 39 // that loaded this DLL in addition to the --ceee flag, or if
40 // the process loading the DLL is regsvr32 (i.e. it's a developer that 40 // the process loading the DLL is regsvr32 (i.e. it's a developer that
41 // explicitly wants to register). 41 // explicitly wants to register).
42 bool ShouldRegisterFfCeee(); 42 bool ShouldRegisterFfCeee();
43 43
44 } // namespace ceee_install_utils 44 } // namespace ceee_install_utils
45 45
46 #endif // CEEE_COMMON_INSTALL_UTILS_H_ 46 #endif // CEEE_COMMON_INSTALL_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | ceee/common/install_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698