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

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

Issue 10957016: Ensuring Google Update at user-level is installed alongside App Host, for the quick-enable App Host… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes; moved switch checks; moved UninstallGoogleUpdate() and refactored with EnsureUserLevelGoogle… Created 8 years, 3 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 #include "chrome/installer/util/google_update_constants.h" 5 #include "chrome/installer/util/google_update_constants.h"
6 6
7 namespace google_update { 7 namespace google_update {
8 8
9 const wchar_t kChromeUpgradeCode[] = L"{8A69D345-D564-463C-AFF1-A69D9E530F96}"; 9 const wchar_t kChromeUpgradeCode[] = L"{8A69D345-D564-463C-AFF1-A69D9E530F96}";
10 const wchar_t kGoogleUpdateUpgradeCode[] = 10 const wchar_t kGoogleUpdateUpgradeCode[] =
11 L"{430FD4D0-B729-4F61-AA34-91526481799D}"; 11 L"{430FD4D0-B729-4F61-AA34-91526481799D}";
12 12
13 const wchar_t kGoogleUpdateSetupExe[] = L"GoogleUpdateSetup.exe";
14
13 const wchar_t kRegPathClients[] = L"Software\\Google\\Update\\Clients"; 15 const wchar_t kRegPathClients[] = L"Software\\Google\\Update\\Clients";
14 const wchar_t kRegPathClientState[] = L"Software\\Google\\Update\\ClientState"; 16 const wchar_t kRegPathClientState[] = L"Software\\Google\\Update\\ClientState";
15 const wchar_t kRegPathClientStateMedium[] = 17 const wchar_t kRegPathClientStateMedium[] =
16 L"Software\\Google\\Update\\ClientStateMedium"; 18 L"Software\\Google\\Update\\ClientStateMedium";
17 const wchar_t kRegPathGoogleUpdate[] = L"Software\\Google\\Update"; 19 const wchar_t kRegPathGoogleUpdate[] = L"Software\\Google\\Update";
18 20
19 const wchar_t kRegCommandsKey[] = L"Commands"; 21 const wchar_t kRegCommandsKey[] = L"Commands";
20 22
21 const wchar_t kRegApField[] = L"ap"; 23 const wchar_t kRegApField[] = L"ap";
22 const wchar_t kRegAutoRunOnOSUpgradeField[] = L"AutoRunOnOSUpgrade"; 24 const wchar_t kRegAutoRunOnOSUpgradeField[] = L"AutoRunOnOSUpgrade";
(...skipping 16 matching lines...) Expand all
39 const wchar_t kRegLastInstallerResultField[] = L"LastInstallerResult"; 41 const wchar_t kRegLastInstallerResultField[] = L"LastInstallerResult";
40 const wchar_t kRegLastInstallerErrorField[] = L"LastInstallerError"; 42 const wchar_t kRegLastInstallerErrorField[] = L"LastInstallerError";
41 const wchar_t kRegLastInstallerExtraField[] = L"LastInstallerExtraCode1"; 43 const wchar_t kRegLastInstallerExtraField[] = L"LastInstallerExtraCode1";
42 const wchar_t kRegLastRunTimeField[] = L"lastrun"; 44 const wchar_t kRegLastRunTimeField[] = L"lastrun";
43 const wchar_t kRegMetricsId[] = L"metricsid"; 45 const wchar_t kRegMetricsId[] = L"metricsid";
44 const wchar_t kRegMSIField[] = L"msi"; 46 const wchar_t kRegMSIField[] = L"msi";
45 const wchar_t kRegNameField[] = L"name"; 47 const wchar_t kRegNameField[] = L"name";
46 const wchar_t kRegOemInstallField[] = L"oeminstall"; 48 const wchar_t kRegOemInstallField[] = L"oeminstall";
47 const wchar_t kRegOldVersionField[] = L"opv"; 49 const wchar_t kRegOldVersionField[] = L"opv";
48 const wchar_t kRegOopcrashesField[] = L"oopcrashes"; 50 const wchar_t kRegOopcrashesField[] = L"oopcrashes";
51 const wchar_t kRegPathField[] = L"path";
49 const wchar_t kRegRLZBrandField[] = L"brand"; 52 const wchar_t kRegRLZBrandField[] = L"brand";
50 const wchar_t kRegRLZReactivationBrandField[] = L"reactivationbrand"; 53 const wchar_t kRegRLZReactivationBrandField[] = L"reactivationbrand";
51 const wchar_t kRegReferralField[] = L"referral"; 54 const wchar_t kRegReferralField[] = L"referral";
52 const wchar_t kRegRenameCmdField[] = L"cmd"; 55 const wchar_t kRegRenameCmdField[] = L"cmd";
53 const wchar_t kRegSendsPingsField[] = L"SendsPings"; 56 const wchar_t kRegSendsPingsField[] = L"SendsPings";
54 const wchar_t kRegUninstallCmdLine[] = L"UninstallCmdLine"; 57 const wchar_t kRegUninstallCmdLine[] = L"UninstallCmdLine";
55 const wchar_t kRegUsageStatsField[] = L"usagestats"; 58 const wchar_t kRegUsageStatsField[] = L"usagestats";
56 const wchar_t kRegVersionField[] = L"pv"; 59 const wchar_t kRegVersionField[] = L"pv";
57 const wchar_t kRegWebAccessibleField[] = L"WebAccessible"; 60 const wchar_t kRegWebAccessibleField[] = L"WebAccessible";
58 61
59 } // namespace google_update 62 } // namespace google_update
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698