summaryrefslogtreecommitdiffstats
path: root/chrome/installer
diff options
context:
space:
mode:
authorrobertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 16:52:46 +0000
committerrobertshield@google.com <robertshield@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 16:52:46 +0000
commit5c8424409a755b14b775537af9918937827bc0e7 (patch)
treeb655b298764929829ef0ddcc9391639ae112b2b4 /chrome/installer
parentaad2ce2c0ace972097d66fd1a332e30916b34295 (diff)
downloadchromium_src-5c8424409a755b14b775537af9918937827bc0e7.zip
chromium_src-5c8424409a755b14b775537af9918937827bc0e7.tar.gz
chromium_src-5c8424409a755b14b775537af9918937827bc0e7.tar.bz2
Adding ap key inclusion to uninstall metrics.
BUG=http://crbug.com/14007 TEST=Uninstall a build with this patch and verify that the uninstall survey window has ap=XXXX in the URL. Review URL: http://codereview.chromium.org/126154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18495 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/installer')
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc9
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 e3f1088..8dcdfc0 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -253,8 +253,17 @@ std::wstring GoogleChromeDistribution::GetDistributionData(RegKey* key) {
result = google_update::kRegRLZBrandField;
result.append(L"=");
result.append(brand_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.
+ client_state_key.ReadValue(google_update::kRegApField, &ap_value);
+ result.append(google_update::kRegApField);
+ result.append(L"=");
+ result.append(ap_value);
+
return result;
}