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

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

Issue 153273002: Include the language (locale) info in the update ping (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments, Unittest 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/pnacl/pnacl_component_installer.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 efd6d3ccbe83542363fb45e3bf1b9a81a8916e5d..6bc9d58b94ca5807c4d3a9cc6c14c476f1b0a1d3 100644
--- a/chrome/browser/component_updater/component_updater_utils.cc
+++ b/chrome/browser/component_updater/component_updater_utils.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "chrome/browser/component_updater/component_updater_utils.h"
+
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/guid.h"
@@ -14,8 +15,8 @@
#include "base/win/windows_version.h"
#include "chrome/browser/component_updater/component_updater_service.h"
#include "chrome/browser/component_updater/crx_update_item.h"
+#include "chrome/browser/omaha_query_params/omaha_query_params.h"
#include "chrome/common/chrome_version_info.h"
-#include "chrome/common/omaha_query_params/omaha_query_params.h"
#include "extensions/common/extension.h"
#include "net/base/load_flags.h"
#include "net/url_request/url_fetcher.h"
@@ -44,14 +45,15 @@ std::string BuildProtocolRequest(const std::string& request_body,
"version=\"%s-%s\" prodversion=\"%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"
+ 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"
#if defined(OS_WIN)
const bool is_wow64(
base::win::OSInfo::GetInstance()->wow64_status() ==
« no previous file with comments | « no previous file | chrome/browser/component_updater/pnacl/pnacl_component_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698