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

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

Issue 11685006: [Fixit-Dec-2012] Auto-launch system-level Chrome post user-level Chrome self-destruction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: +++grt Created 7 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 | « chrome/installer/util/util_constants.h ('k') | no next file » | 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) 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
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // to support in-use updates. Also deletes opv key. 147 // to support in-use updates. Also deletes opv key.
148 const char kRenameChromeExe[] = "rename-chrome-exe"; 148 const char kRenameChromeExe[] = "rename-chrome-exe";
149 149
150 // Removes Chrome registration from current machine. Requires admin rights. 150 // Removes Chrome registration from current machine. Requires admin rights.
151 const char kRemoveChromeRegistration[] = "remove-chrome-registration"; 151 const char kRemoveChromeRegistration[] = "remove-chrome-registration";
152 152
153 // When we try to relaunch setup.exe as admin on Vista, we append this command 153 // When we try to relaunch setup.exe as admin on Vista, we append this command
154 // line flag so that we try the launch only once. 154 // line flag so that we try the launch only once.
155 const char kRunAsAdmin[] = "run-as-admin"; 155 const char kRunAsAdmin[] = "run-as-admin";
156 156
157 // Combined with --uninstall, signals to setup.exe that this uninstall was
158 // triggered by a self-destructing Chrome.
159 const char kSelfDestruct[] = "self-destruct";
160
157 // Install Chrome to system wise location. The default is per user install. 161 // Install Chrome to system wise location. The default is per user install.
158 const char kSystemLevel[] = "system-level"; 162 const char kSystemLevel[] = "system-level";
159 163
160 // If present, setup will uninstall chrome. 164 // If present, setup will uninstall chrome.
161 const char kUninstall[] = "uninstall"; 165 const char kUninstall[] = "uninstall";
162 166
163 // Also see --new-setup-exe. This command line option specifies a diff patch 167 // Also see --new-setup-exe. This command line option specifies a diff patch
164 // that setup.exe will apply to itself and store the resulting binary in the 168 // that setup.exe will apply to itself and store the resulting binary in the
165 // path given by --new-setup-exe. 169 // path given by --new-setup-exe.
166 const char kUpdateSetupExe[] = "update-setup-exe"; 170 const char kUpdateSetupExe[] = "update-setup-exe";
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 // Chrome channel display names. 244 // Chrome channel display names.
241 const wchar_t kChromeChannelUnknown[] = L"unknown"; 245 const wchar_t kChromeChannelUnknown[] = L"unknown";
242 const wchar_t kChromeChannelCanary[] = L"canary"; 246 const wchar_t kChromeChannelCanary[] = L"canary";
243 const wchar_t kChromeChannelDev[] = L"dev"; 247 const wchar_t kChromeChannelDev[] = L"dev";
244 const wchar_t kChromeChannelBeta[] = L"beta"; 248 const wchar_t kChromeChannelBeta[] = L"beta";
245 const wchar_t kChromeChannelStable[] = L""; 249 const wchar_t kChromeChannelStable[] = L"";
246 250
247 const size_t kMaxAppModelIdLength = 64U; 251 const size_t kMaxAppModelIdLength = 64U;
248 252
249 } // namespace installer 253 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/util_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698