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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_util.cc

Issue 327793005: Change google_util::AppendGoogleLocaleParam to take in the application locale (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ChromeOS fix Created 6 years, 6 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
Index: chrome/browser/safe_browsing/safe_browsing_util.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_util.cc b/chrome/browser/safe_browsing/safe_browsing_util.cc
index 8630e040c81dca8097ab6cd08400b57611356205..be5748489931d94b8b10bd62528376177dcd9b60 100644
--- a/chrome/browser/safe_browsing/safe_browsing_util.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_util.cc
@@ -7,6 +7,7 @@
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
+#include "chrome/browser/browser_process.h"
#include "chrome/browser/google/google_util.h"
#include "chrome/browser/safe_browsing/chunk.pb.h"
#include "crypto/sha2.h"
@@ -508,7 +509,8 @@ GURL GeneratePhishingReportUrl(const std::string& report_page,
GURL report_url(report_page + base::StringPrintf(kReportParams,
client_name.c_str(),
current_esc.c_str()));
- return google_util::AppendGoogleLocaleParam(report_url);
+ return google_util::AppendGoogleLocaleParam(
+ report_url, g_browser_process->GetApplicationLocale());
}
SBFullHash StringToSBFullHash(const std::string& hash_in) {

Powered by Google App Engine
This is Rietveld 408576698