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

Unified Diff: chrome/browser/web_resource/web_resource_service.h

Issue 258037: Fix tips in OS X to respect system language settings instead of locale.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/web_resource/web_resource_service.h
===================================================================
--- chrome/browser/web_resource/web_resource_service.h (revision 28155)
+++ chrome/browser/web_resource/web_resource_service.h (working copy)
@@ -28,6 +28,9 @@
// the process that will parse the JSON, and then update the cache.
void UpdateResourceCache(const std::string& json_data);
+ // Get the language appropriate for delivery of the web resources.
+ static std::wstring GetWebResourceLanguage(PrefService* prefs);
+
static const wchar_t* kTipDictionaryPrefName;
static const wchar_t* kCurrentTipPrefName;
static const wchar_t* kTipCachePrefName;

Powered by Google App Engine
This is Rietveld 408576698