diff options
author | robertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 19:47:25 +0000 |
---|---|---|
committer | robertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-23 19:47:25 +0000 |
commit | 9f57c98d6d1298ba03475e3a97ab4d78d1266d1b (patch) | |
tree | 60addd4d8d6c1c7769f7d2e7d3ae2d5e289b8376 /chrome/installer/util | |
parent | 34dda85b1b2fbccea5ea875e631df2616eb7a99c (diff) | |
download | chromium_src-9f57c98d6d1298ba03475e3a97ab4d78d1266d1b.zip chromium_src-9f57c98d6d1298ba03475e3a97ab4d78d1266d1b.tar.gz chromium_src-9f57c98d6d1298ba03475e3a97ab4d78d1266d1b.tar.bz2 |
Adding ..\ClientState\<ChromeGuid>\client key to the uninstall metrics for Google Chrome build.
Note that the inclusion of this value is contingent upon the user having opted to send up anonymous usage information.
BUG=b/1484308
TEST=Verify uninstall survey URL contains &client=<client-string>
Review URL: http://codereview.chromium.org/146014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19046 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer/util')
-rw-r--r-- | chrome/installer/util/google_chrome_distribution.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc index 359c7c7..735ae27 100644 --- a/chrome/installer/util/google_chrome_distribution.cc +++ b/chrome/installer/util/google_chrome_distribution.cc @@ -321,6 +321,15 @@ std::wstring GoogleChromeDistribution::GetDistributionData(RegKey* key) { result.append(L"&"); } + std::wstring client_value; + if (client_state_key.ReadValue(google_update::kRegClientField, + &client_value)) { + result.append(google_update::kRegClientField); + result.append(L"="); + result.append(client_value); + result.append(L"&"); + } + std::wstring ap_value; // If we fail to read the ap key, send up "&ap=" anyway to indicate // that this was probably a stable channel release. |