summaryrefslogtreecommitdiffstats
path: root/chrome/installer/util/google_chrome_distribution.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/installer/util/google_chrome_distribution.cc')
-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;
}