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

Unified Diff: chrome/browser/extensions/updater/manifest_fetch_data.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: 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/updater/manifest_fetch_data.cc
diff --git a/chrome/browser/extensions/updater/manifest_fetch_data.cc b/chrome/browser/extensions/updater/manifest_fetch_data.cc
index 1bf4250ac05063a28fdf1a0c1f7b8239b07c6082..d8d866e9949055e3919d9e26ee63e6023af08e5c 100644
--- a/chrome/browser/extensions/updater/manifest_fetch_data.cc
+++ b/chrome/browser/extensions/updater/manifest_fetch_data.cc
@@ -10,6 +10,7 @@
#include "base/metrics/histogram.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
+#include "chrome/browser/browser_process.h"
#include "chrome/browser/google/google_util.h"
#include "chrome/browser/metrics/metrics_service.h"
#include "chrome/common/omaha_query_params/omaha_query_params.h"
@@ -77,6 +78,7 @@ bool ManifestFetchData::AddExtension(std::string id, std::string version,
parts.push_back("v=" + version);
if (!install_source.empty())
parts.push_back("installsource=" + install_source);
+ parts.push_back("lang=" + g_browser_process->GetApplicationLocale());
Devlin 2014/02/04 00:18:39 This is also done here: https://code.google.com/p/
Marijn Kruisselbrink 2014/02/10 21:06:46 I'm not entirely sure what you're suggesting putti
Devlin 2014/02/10 23:08:15 The OmahaQueryParams class is where we're getting
parts.push_back("uc");
if (!update_url_data.empty()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698