summaryrefslogtreecommitdiffstats
path: root/chrome/installer/mini_installer/mini_installer.h
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 19:09:41 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 19:09:41 +0000
commit06e6f87a7d99758524cefbd9d234b0635c420dbc (patch)
treed72cc2e2e116a2f8f77252a5c9510953a7540800 /chrome/installer/mini_installer/mini_installer.h
parent58531df60b957442c986f947e6e1566fd9cf6084 (diff)
downloadchromium_src-06e6f87a7d99758524cefbd9d234b0635c420dbc.zip
chromium_src-06e6f87a7d99758524cefbd9d234b0635c420dbc.tar.gz
chromium_src-06e6f87a7d99758524cefbd9d234b0635c420dbc.tar.bz2
Parameterize the Google Update appid at build time instead of hard coding it in the source.
Review URL: http://codereview.chromium.org/178011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25072 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/mini_installer/mini_installer.h')
-rw-r--r--chrome/installer/mini_installer/mini_installer.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/installer/mini_installer/mini_installer.h b/chrome/installer/mini_installer/mini_installer.h
index fde3656..9cce8d2 100644
--- a/chrome/installer/mini_installer/mini_installer.h
+++ b/chrome/installer/mini_installer/mini_installer.h
@@ -42,13 +42,14 @@ const wchar_t kUninstallRegistryValueName[] = L"UninstallString";
// Paths for the above registry keys
#if defined(GOOGLE_CHROME_BUILD)
-const wchar_t kApRegistryKey[] = L"Software\\Google\\Update\\ClientState\\"
- L"{8A69D345-D564-463c-AFF1-A69D9E530F96}";
+// The concatenation of this plus the Google Update GUID is the app registry
+// key.
+const wchar_t kApRegistryKeyBase[] = L"Software\\Google\\Update\\ClientState\\";
const wchar_t kUninstallRegistryKey[] =
L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Google Chrome";
const wchar_t kCleanupRegistryKey[] = L"Software\\Google";
#else
-const wchar_t kApRegistryKey[] = L"Software\\Chromium";
+const wchar_t kApRegistryKeyBase[] = L"Software\\Chromium";
const wchar_t kUninstallRegistryKey[] =
L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chromium";
const wchar_t kCleanupRegistryKey[] = L"Software\\Chromium";