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

Unified Diff: chromecast/browser/cast_http_user_agent_settings.h

Issue 964713002: Chromecast: get locale from ICU instead of caching permanently. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | chromecast/browser/cast_http_user_agent_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/cast_http_user_agent_settings.h
diff --git a/chromecast/browser/cast_http_user_agent_settings.h b/chromecast/browser/cast_http_user_agent_settings.h
index 35a1a3a87015e1e4ef5c8fd318f8d76f20503f41..8deb7f2585a1c0749cef3844ce65571216825910 100644
--- a/chromecast/browser/cast_http_user_agent_settings.h
+++ b/chromecast/browser/cast_http_user_agent_settings.h
@@ -22,6 +22,7 @@ class CastHttpUserAgentSettings : public net::HttpUserAgentSettings {
std::string GetUserAgent() const override;
private:
+ mutable std::string last_locale_;
mutable std::string accept_language_;
DISALLOW_COPY_AND_ASSIGN(CastHttpUserAgentSettings);
« no previous file with comments | « no previous file | chromecast/browser/cast_http_user_agent_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698