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

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

Issue 165393009: Added "lang" attribute to the component updater update requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 6bc9d58b94ca5807c4d3a9cc6c14c476f1b0a1d3..7f4c0755edb9123eb4ce994478834109021d3547 100644
--- a/chrome/browser/component_updater/component_updater_utils.cc
+++ b/chrome/browser/component_updater/component_updater_utils.cc
@@ -43,12 +43,13 @@ std::string BuildProtocolRequest(const std::string& request_body,
base::StringAppendF(
&request,
"version=\"%s-%s\" prodversion=\"%s\" "
- "requestid=\"{%s}\" updaterchannel=\"%s\" prodchannel=\"%s\" "
+ "requestid=\"{%s}\" lang=\"%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::GetLang(), // "lang",
chrome::OmahaQueryParams::GetChannelString(), // "updaterchannel"
chrome::OmahaQueryParams::GetChannelString(), // "prodchannel"
chrome::OmahaQueryParams::GetOS(), // "os"
« 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