summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/google_update_constants.h
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-06 20:42:39 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-06 20:42:39 +0000
commit5f27dc1b618add9874c21f47adc0f6a57d0c2208 (patch)
treead2f004ec5103555499d4bb443c3e7f13d850b2c /chrome/installer/util/google_update_constants.h
parentada41253c96b1f86b4e84ff6765b043e34ec2f7c (diff)
downloadchromium_src-5f27dc1b618add9874c21f47adc0f6a57d0c2208.zip
chromium_src-5f27dc1b618add9874c21f47adc0f6a57d0c2208.tar.gz
chromium_src-5f27dc1b618add9874c21f47adc0f6a57d0c2208.tar.bz2
Add brand-code migration to the Chrome installer when creating the new multi-install app guid.
When upgrading a product from single to multi, the installer will now check if a Chrome install at that level (user/system) had a brand code, and if so it will copy the brand code to the ClientState key for the multi-install. Also, some yak de-hairing: alter InstallationState such that it can be queried for partial ProductStates for products that are in the process of being installed. This can be used to query e.g. the ap value and the brand code, but not the version (since a product won't have a version until its first install is complete). This removes the need to go and manually re-query the registry in a couple of places, makes the installer's actions based solely on the original InstallationState and generally removes some hackiness. BUG=61609 TEST=setup_unittests.exe, also when upgrading from single to multi, observe that brand codes are copied over. Review URL: http://codereview.chromium.org/6604010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77089 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util/google_update_constants.h')
-rw-r--r--chrome/installer/util/google_update_constants.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/installer/util/google_update_constants.h b/chrome/installer/util/google_update_constants.h
index 825fcbd..4ed18af 100644
--- a/chrome/installer/util/google_update_constants.h
+++ b/chrome/installer/util/google_update_constants.h
@@ -30,6 +30,7 @@ extern const wchar_t kRegPathClientStateMedium[];
extern const wchar_t kRegCommandsKey[];
extern const wchar_t kRegApField[];
+extern const wchar_t kRegBrandField[];
extern const wchar_t kRegBrowserField[];
extern const wchar_t kRegCFEndTempOptOutCmdField[];
extern const wchar_t kRegCFOptInCmdField[];