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

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

Issue 10160011: Create VisualElementsManifest.xml from template -- install VisualElements in the version directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments and move to public interface for testing Created 8 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 | 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 #pragma once 10 #pragma once
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 EXECUTING, // 7: Executing the install work item list. 106 EXECUTING, // 7: Executing the install work item list.
107 ROLLINGBACK, // 8: Rolling-back the install work item list. 107 ROLLINGBACK, // 8: Rolling-back the install work item list.
108 REFRESHING_POLICY, // 9: Refreshing the elevation policy. 108 REFRESHING_POLICY, // 9: Refreshing the elevation policy.
109 UPDATING_CHANNELS, // 10: Updating channel information. 109 UPDATING_CHANNELS, // 10: Updating channel information.
110 COPYING_PREFERENCES_FILE, // 11: Copying preferences file. 110 COPYING_PREFERENCES_FILE, // 11: Copying preferences file.
111 CREATING_SHORTCUTS, // 12: Creating shortcuts. 111 CREATING_SHORTCUTS, // 12: Creating shortcuts.
112 REGISTERING_CHROME, // 13: Performing Chrome registration. 112 REGISTERING_CHROME, // 13: Performing Chrome registration.
113 REMOVING_OLD_VERSIONS, // 14: Deleting old version directories. 113 REMOVING_OLD_VERSIONS, // 14: Deleting old version directories.
114 FINISHING, // 15: Finishing the install. 114 FINISHING, // 15: Finishing the install.
115 CONFIGURE_AUTO_LAUNCH, // 16: Configuring Chrome to auto-launch. 115 CONFIGURE_AUTO_LAUNCH, // 16: Configuring Chrome to auto-launch.
116 NUM_STAGES // 17: The number of stages. 116 CREATING_VISUAL_MANIFEST, // 17: Creating VisualElementsManifest.xml
117 NUM_STAGES // 18: The number of stages.
117 }; 118 };
118 119
119 // When we start reporting the numerical values from the enum, the order 120 // When we start reporting the numerical values from the enum, the order
120 // above MUST be preserved. 121 // above MUST be preserved.
121 COMPILE_ASSERT(CONFIGURE_AUTO_LAUNCH == 16, 122 COMPILE_ASSERT(CREATING_VISUAL_MANIFEST == 17,
122 never_ever_ever_change_InstallerStage_values_bang); 123 never_ever_ever_change_InstallerStage_values_bang);
123 124
124 namespace switches { 125 namespace switches {
125 extern const char kAutoLaunchChrome[]; 126 extern const char kAutoLaunchChrome[];
126 extern const char kChrome[]; 127 extern const char kChrome[];
127 extern const char kChromeFrame[]; 128 extern const char kChromeFrame[];
128 extern const char kChromeFrameQuickEnable[]; 129 extern const char kChromeFrameQuickEnable[];
129 extern const char kChromeFrameReadyMode[]; 130 extern const char kChromeFrameReadyMode[];
130 extern const char kChromeFrameReadyModeOptIn[]; 131 extern const char kChromeFrameReadyModeOptIn[];
131 extern const char kChromeFrameReadyModeTempOptOut[]; 132 extern const char kChromeFrameReadyModeTempOptOut[];
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // will return "canary" for that product. 214 // will return "canary" for that product.
214 extern const wchar_t kChromeChannelUnknown[]; 215 extern const wchar_t kChromeChannelUnknown[];
215 extern const wchar_t kChromeChannelCanary[]; 216 extern const wchar_t kChromeChannelCanary[];
216 extern const wchar_t kChromeChannelDev[]; 217 extern const wchar_t kChromeChannelDev[];
217 extern const wchar_t kChromeChannelBeta[]; 218 extern const wchar_t kChromeChannelBeta[];
218 extern const wchar_t kChromeChannelStable[]; 219 extern const wchar_t kChromeChannelStable[];
219 220
220 } // namespace installer 221 } // namespace installer
221 222
222 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_ 223 #endif // CHROME_INSTALLER_UTIL_UTIL_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698