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

Side by Side Diff: chrome/installer/util/util_constants.h

Issue 14031025: Implementing unified Chrome / App Launcher flow, and migrating old stand-alone App Launcher. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing Start Menu root stuff; cleanups. Created 7 years, 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Defines all install related constants that need to be used by Chrome as 5 // Defines all install related constants that need to be used by Chrome as
6 // well as Chrome Installer. 6 // well as Chrome Installer.
7 7
8 #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 8 #ifndef CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
9 #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 9 #define CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 APP_HOST_REQUIRES_MULTI_INSTALL, // 41. --multi-install was missing from the 73 APP_HOST_REQUIRES_MULTI_INSTALL, // 41. --multi-install was missing from the
74 // command line. 74 // command line.
75 APPLY_DIFF_PATCH_FAILED, // 42. Failed to apply a diff patch. 75 APPLY_DIFF_PATCH_FAILED, // 42. Failed to apply a diff patch.
76 INCONSISTENT_UPDATE_POLICY, // 43. Inconsistent update policy GP settings. 76 INCONSISTENT_UPDATE_POLICY, // 43. Inconsistent update policy GP settings.
77 APP_HOST_REQUIRES_USER_LEVEL, // 44. --system-level is forbidden. 77 APP_HOST_REQUIRES_USER_LEVEL, // 44. --system-level is forbidden.
78 APP_HOST_REQUIRES_BINARIES, // 45. No Chrome binaries at either level. 78 APP_HOST_REQUIRES_BINARIES, // 45. No Chrome binaries at either level.
79 INSTALL_OF_GOOGLE_UPDATE_FAILED, // 46. Failed to install Google Update. 79 INSTALL_OF_GOOGLE_UPDATE_FAILED, // 46. Failed to install Google Update.
80 INVALID_STATE_FOR_OPTION, // 47. A non-install option was called with an 80 INVALID_STATE_FOR_OPTION, // 47. A non-install option was called with an
81 // invalid installer state. 81 // invalid installer state.
82 WAIT_FOR_EXISTING_FAILED, // 48. OS error waiting for existing setup.exe. 82 WAIT_FOR_EXISTING_FAILED, // 48. OS error waiting for existing setup.exe.
83 APP_HOST_SELF_DESTRUCT, // 49. Old app_host.exe calls the new installer,
84 // causing itself to be uninstalled.
83 // Friendly reminder: note the COMPILE_ASSERT below. 85 // Friendly reminder: note the COMPILE_ASSERT below.
84 }; 86 };
85 87
86 88
87 // Existing InstallStatus values must not change. Always add to the end. 89 // Existing InstallStatus values must not change. Always add to the end.
88 COMPILE_ASSERT(installer::WAIT_FOR_EXISTING_FAILED == 48, 90 COMPILE_ASSERT(installer::APP_HOST_SELF_DESTRUCT == 49,
89 dont_change_enum); 91 dont_change_enum);
90 92
91 // The type of an update archive. 93 // The type of an update archive.
92 enum ArchiveType { 94 enum ArchiveType {
93 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized. 95 UNKNOWN_ARCHIVE_TYPE, // Unknown or uninitialized.
94 FULL_ARCHIVE_TYPE, // Full chrome.7z archive. 96 FULL_ARCHIVE_TYPE, // Full chrome.7z archive.
95 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive. 97 INCREMENTAL_ARCHIVE_TYPE // Incremental or differential archive.
96 }; 98 };
97 99
98 // Stages of an installation reported through Google Update on failure. 100 // Stages of an installation reported through Google Update on failure.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 extern const char kVerboseLogging[]; 175 extern const char kVerboseLogging[];
174 extern const char kShowEula[]; 176 extern const char kShowEula[];
175 extern const char kShowEulaForMetro[]; 177 extern const char kShowEulaForMetro[];
176 extern const char kInactiveUserToast[]; 178 extern const char kInactiveUserToast[];
177 extern const char kSystemLevelToast[]; 179 extern const char kSystemLevelToast[];
178 extern const char kExperimentGroup[]; 180 extern const char kExperimentGroup[];
179 extern const char kToastResultsKey[]; 181 extern const char kToastResultsKey[];
180 } // namespace switches 182 } // namespace switches
181 183
182 extern const wchar_t kActiveSetupExe[]; 184 extern const wchar_t kActiveSetupExe[];
183 extern const wchar_t kChromeAppHostExe[]; 185 extern const wchar_t kChromeAppHostExe[]; // Legacy.
184 extern const wchar_t kChromeDll[]; 186 extern const wchar_t kChromeDll[];
185 extern const wchar_t kChromeExe[]; 187 extern const wchar_t kChromeExe[];
186 extern const wchar_t kChromeFrameDll[]; 188 extern const wchar_t kChromeFrameDll[];
187 extern const wchar_t kChromeFrameHelperExe[]; 189 extern const wchar_t kChromeFrameHelperExe[];
188 extern const wchar_t kChromeFrameHelperWndClass[]; 190 extern const wchar_t kChromeFrameHelperWndClass[];
189 extern const wchar_t kChromeFrameReadyModeField[]; 191 extern const wchar_t kChromeFrameReadyModeField[];
190 extern const wchar_t kChromeLauncherExe[]; 192 extern const wchar_t kChromeLauncherExe[];
191 extern const wchar_t kChromeOldExe[]; 193 extern const wchar_t kChromeOldExe[];
192 extern const wchar_t kChromeNewExe[]; 194 extern const wchar_t kChromeNewExe[];
193 extern const wchar_t kCmdInstallApp[]; 195 extern const wchar_t kCmdInstallApp[];
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 extern const wchar_t kChromeChannelCanary[]; 235 extern const wchar_t kChromeChannelCanary[];
234 extern const wchar_t kChromeChannelDev[]; 236 extern const wchar_t kChromeChannelDev[];
235 extern const wchar_t kChromeChannelBeta[]; 237 extern const wchar_t kChromeChannelBeta[];
236 extern const wchar_t kChromeChannelStable[]; 238 extern const wchar_t kChromeChannelStable[];
237 239
238 extern const size_t kMaxAppModelIdLength; 240 extern const size_t kMaxAppModelIdLength;
239 241
240 } // namespace installer 242 } // namespace installer
241 243
242 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 244 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698