Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / chromecast / shell / browser / cast_http_user_agent_settings.h
blob00f86d59ab5ccb4d1beecf7ba1b952ce89788859
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
6 #define CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "base/prefs/pref_member.h"
11 #include "net/url_request/http_user_agent_settings.h"
13 namespace chromecast {
14 namespace shell {
16 class CastHttpUserAgentSettings : public net::HttpUserAgentSettings {
17 public:
18 CastHttpUserAgentSettings();
19 virtual ~CastHttpUserAgentSettings();
21 // net::HttpUserAgentSettings implementation:
22 virtual std::string GetAcceptLanguage() const OVERRIDE;
23 virtual std::string GetUserAgent() const OVERRIDE;
25 private:
26 mutable std::string accept_language_;
28 DISALLOW_COPY_AND_ASSIGN(CastHttpUserAgentSettings);
31 } // namespace shell
32 } // namespace chromecast
33 #endif // CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_