Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: chrome/browser/component_updater/component_updater_utils.cc

Issue 134583002: Add "prodchannel" attribute in component updater update requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/component_updater/test/component_updater_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/component_updater/component_updater_utils.cc
diff --git a/chrome/browser/component_updater/component_updater_utils.cc b/chrome/browser/component_updater/component_updater_utils.cc
index 0704f2c0c7bb33d972eccf74dc5922853daea851..8dbbd261e8aa10c7d485288ce3592f87fb0d78c8 100644
--- a/chrome/browser/component_updater/component_updater_utils.cc
+++ b/chrome/browser/component_updater/component_updater_utils.cc
@@ -42,12 +42,13 @@ std::string BuildProtocolRequest(const std::string& request_body,
base::StringAppendF(
&request,
"version=\"%s-%s\" prodversion=\"%s\" "
- "requestid=\"{%s}\" updaterchannel=\"%s\" "
+ "requestid=\"{%s}\" updaterchannel=\"%s\" prodchannel=\"%s\" "
"os=\"%s\" arch=\"%s\" nacl_arch=\"%s\"",
prod_id.c_str(), chrome_version.c_str(), // "version"
chrome_version.c_str(), // "prodversion"
base::GenerateGUID().c_str(), // "requestid"
chrome::OmahaQueryParams::GetChannelString(), // "updaterchannel"
+ chrome::OmahaQueryParams::GetChannelString(), // "prodchannel"
chrome::OmahaQueryParams::getOS(), // "os"
chrome::OmahaQueryParams::getArch(), // "arch"
chrome::OmahaQueryParams::getNaclArch()); // "nacl_arch"
« no previous file with comments | « no previous file | chrome/browser/component_updater/test/component_updater_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698