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

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

Issue 15908002: Differential updates for components. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: really removing the lzma files this time. Created 7 years, 6 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
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 PATCH_INVALID_ARGUMENTS, // 49. The arguments of --patch were missing or
84 // they were invalid for any reason.
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::PATCH_INVALID_ARGUMENTS == 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 22 matching lines...) Expand all
121 DEFERRING_TO_HIGHER_VERSION, // 18: Deferring to an installed higher version. 123 DEFERRING_TO_HIGHER_VERSION, // 18: Deferring to an installed higher version.
122 NUM_STAGES // 19: The number of stages. 124 NUM_STAGES // 19: The number of stages.
123 }; 125 };
124 126
125 // When we start reporting the numerical values from the enum, the order 127 // When we start reporting the numerical values from the enum, the order
126 // above MUST be preserved. 128 // above MUST be preserved.
127 COMPILE_ASSERT(DEFERRING_TO_HIGHER_VERSION == 18, 129 COMPILE_ASSERT(DEFERRING_TO_HIGHER_VERSION == 18,
128 never_ever_ever_change_InstallerStage_values_bang); 130 never_ever_ever_change_InstallerStage_values_bang);
129 131
130 namespace switches { 132 namespace switches {
133
131 extern const char kAutoLaunchChrome[]; 134 extern const char kAutoLaunchChrome[];
132 extern const char kChrome[]; 135 extern const char kChrome[];
133 extern const char kChromeAppHostDeprecated[]; // TODO(huangs): Remove by M27. 136 extern const char kChromeAppHostDeprecated[]; // TODO(huangs): Remove by M27.
134 extern const char kChromeAppLauncher[]; 137 extern const char kChromeAppLauncher[];
135 extern const char kChromeFrame[]; 138 extern const char kChromeFrame[];
136 extern const char kChromeFrameQuickEnable[]; 139 extern const char kChromeFrameQuickEnable[];
137 extern const char kChromeFrameReadyMode[]; 140 extern const char kChromeFrameReadyMode[];
138 extern const char kChromeFrameReadyModeOptIn[]; 141 extern const char kChromeFrameReadyModeOptIn[];
139 extern const char kChromeFrameReadyModeTempOptOut[]; 142 extern const char kChromeFrameReadyModeTempOptOut[];
140 extern const char kChromeFrameReadyModeEndTempOptOut[]; 143 extern const char kChromeFrameReadyModeEndTempOptOut[];
(...skipping 29 matching lines...) Expand all
170 extern const char kSystemLevel[]; 173 extern const char kSystemLevel[];
171 extern const char kUninstall[]; 174 extern const char kUninstall[];
172 extern const char kUpdateSetupExe[]; 175 extern const char kUpdateSetupExe[];
173 extern const char kVerboseLogging[]; 176 extern const char kVerboseLogging[];
174 extern const char kShowEula[]; 177 extern const char kShowEula[];
175 extern const char kShowEulaForMetro[]; 178 extern const char kShowEulaForMetro[];
176 extern const char kInactiveUserToast[]; 179 extern const char kInactiveUserToast[];
177 extern const char kSystemLevelToast[]; 180 extern const char kSystemLevelToast[];
178 extern const char kExperimentGroup[]; 181 extern const char kExperimentGroup[];
179 extern const char kToastResultsKey[]; 182 extern const char kToastResultsKey[];
183 extern const char kPatch[];
184 extern const char kCourgette[];
185 extern const char kBsdiff[];
186 extern const char kInputFile[];
187 extern const char kPatchFile[];
188 extern const char kOutputFile[];
189
180 } // namespace switches 190 } // namespace switches
181 191
182 extern const wchar_t kActiveSetupExe[]; 192 extern const wchar_t kActiveSetupExe[];
183 extern const wchar_t kChromeAppHostExe[]; 193 extern const wchar_t kChromeAppHostExe[];
184 extern const wchar_t kChromeDll[]; 194 extern const wchar_t kChromeDll[];
185 extern const wchar_t kChromeExe[]; 195 extern const wchar_t kChromeExe[];
186 extern const wchar_t kChromeFrameDll[]; 196 extern const wchar_t kChromeFrameDll[];
187 extern const wchar_t kChromeFrameHelperExe[]; 197 extern const wchar_t kChromeFrameHelperExe[];
188 extern const wchar_t kChromeFrameHelperWndClass[]; 198 extern const wchar_t kChromeFrameHelperWndClass[];
189 extern const wchar_t kChromeFrameReadyModeField[]; 199 extern const wchar_t kChromeFrameReadyModeField[];
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 extern const wchar_t kChromeChannelCanary[]; 243 extern const wchar_t kChromeChannelCanary[];
234 extern const wchar_t kChromeChannelDev[]; 244 extern const wchar_t kChromeChannelDev[];
235 extern const wchar_t kChromeChannelBeta[]; 245 extern const wchar_t kChromeChannelBeta[];
236 extern const wchar_t kChromeChannelStable[]; 246 extern const wchar_t kChromeChannelStable[];
237 247
238 extern const size_t kMaxAppModelIdLength; 248 extern const size_t kMaxAppModelIdLength;
239 249
240 } // namespace installer 250 } // namespace installer
241 251
242 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 252 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698