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

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

Issue 11267023: Implementing --app-launcher install/uninstall flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing shortcut install (will do in different CL), but keeping some refactoring. Created 8 years, 1 month 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 #include "chrome/installer/util/util_constants.h" 5 #include "chrome/installer/util/util_constants.h"
6 6
7 namespace installer { 7 namespace installer {
8 8
9 namespace switches { 9 namespace switches {
10 10
11 // Whether to set Chrome to launch at computer startup. 11 // Whether to set Chrome to launch at computer startup.
12 const char kAutoLaunchChrome[] = "auto-launch-chrome"; 12 const char kAutoLaunchChrome[] = "auto-launch-chrome";
13 13
14 // Install Chrome. 14 // Install Chrome.
15 // Currently this is only required when used in combination with kMultiInstall. 15 // Currently this is only required when used in combination with kMultiInstall.
16 const char kChrome[] = "chrome"; 16 const char kChrome[] = "chrome";
17 17
18 // Install Chrome App Host. 18 // Install Chrome App Host.
19 const char kChromeAppHost[] = "app-host"; 19 const char kChromeAppHost[] = "app-host";
20 20
21 // Install Chrome App Launcher.
grt (UTC plus 2) 2012/10/30 13:02:55 Please add to this comment explaining that, in you
huangs 2012/10/30 20:35:07 Done.
22 const char kChromeAppLauncher[] = "app-launcher";
23
21 // Install Chrome Frame. 24 // Install Chrome Frame.
22 const char kChromeFrame[] = "chrome-frame"; 25 const char kChromeFrame[] = "chrome-frame";
23 26
24 // Installs Chrome Frame from an already installed multi-install of Chrome. 27 // Installs Chrome Frame from an already installed multi-install of Chrome.
25 const char kChromeFrameQuickEnable[] = "quick-enable-cf"; 28 const char kChromeFrameQuickEnable[] = "quick-enable-cf";
26 29
27 // When installing Chrome Frame, install it in ready mode. 30 // When installing Chrome Frame, install it in ready mode.
28 // If --chrome-frame is not on the command line, this switch has no effect. 31 // If --chrome-frame is not on the command line, this switch has no effect.
29 const char kChromeFrameReadyMode[] = "ready-mode"; 32 const char kChromeFrameReadyMode[] = "ready-mode";
30 33
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 const wchar_t kInstallerResult[] = L"InstallerResult"; 219 const wchar_t kInstallerResult[] = L"InstallerResult";
217 const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString"; 220 const wchar_t kInstallerResultUIString[] = L"InstallerResultUIString";
218 const wchar_t kInstallerSuccessLaunchCmdLine[] = 221 const wchar_t kInstallerSuccessLaunchCmdLine[] =
219 L"InstallerSuccessLaunchCmdLine"; 222 L"InstallerSuccessLaunchCmdLine";
220 223
221 // The presence of this environment variable with a value of 1 implies that 224 // The presence of this environment variable with a value of 1 implies that
222 // we should run as a system installation regardless of what is on the 225 // we should run as a system installation regardless of what is on the
223 // command line. 226 // command line.
224 const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine"; 227 const char kGoogleUpdateIsMachineEnvVar[] = "GoogleUpdateIsMachine";
225 228
229 const wchar_t kOptionAppHostIsLauncher[] = L"app-host-is-launcher";
226 const wchar_t kOptionMultiInstall[] = L"multi-install"; 230 const wchar_t kOptionMultiInstall[] = L"multi-install";
227 const wchar_t kOptionReadyMode[] = L"ready-mode"; 231 const wchar_t kOptionReadyMode[] = L"ready-mode";
228 232
229 // Chrome channel display names. 233 // Chrome channel display names.
230 const wchar_t kChromeChannelUnknown[] = L"unknown"; 234 const wchar_t kChromeChannelUnknown[] = L"unknown";
231 const wchar_t kChromeChannelCanary[] = L"canary"; 235 const wchar_t kChromeChannelCanary[] = L"canary";
232 const wchar_t kChromeChannelDev[] = L"dev"; 236 const wchar_t kChromeChannelDev[] = L"dev";
233 const wchar_t kChromeChannelBeta[] = L"beta"; 237 const wchar_t kChromeChannelBeta[] = L"beta";
234 const wchar_t kChromeChannelStable[] = L""; 238 const wchar_t kChromeChannelStable[] = L"";
235 239
236 const size_t kMaxAppModelIdLength = 64U; 240 const size_t kMaxAppModelIdLength = 64U;
237 241
238 } // namespace installer 242 } // namespace installer
OLDNEW
« chrome/installer/util/chrome_app_host_operations.cc ('K') | « chrome/installer/util/util_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698