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

Unified Diff: android_webview/browser/aw_content_browser_client.cc

Issue 2559243003: Extend with a language code in http accept languages
Patch Set: Rebased and used namespcace instead of class Created 4 years 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: android_webview/browser/aw_content_browser_client.cc
diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc
index a6bb56546a7109084126a3105ee4849681f6040c..643dad401d32c56118ee83bf20d5adcec8b356ef 100644
--- a/android_webview/browser/aw_content_browser_client.cc
+++ b/android_webview/browser/aw_content_browser_client.cc
@@ -160,8 +160,6 @@ AwLocaleManager* g_locale_manager = NULL;
} // anonymous namespace
-// TODO(yirui): can use similar logic as in PrependToAcceptLanguagesIfNecessary
-// in chrome/browser/android/preferences/pref_service_bridge.cc
// static
std::string AwContentBrowserClient::GetAcceptLangsImpl() {
// Start with the current locale(s) in BCP47 format.

Powered by Google App Engine
This is Rietveld 408576698