1116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Copyright 2014 The Chromium Authors. All rights reserved.
2116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// Use of this source code is governed by a BSD-style license that can be
3116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch// found in the LICENSE file.
4116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
5116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#ifndef CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
6116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#define CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
7116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
8116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/compiler_specific.h"
9116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/macros.h"
10116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "base/prefs/pref_member.h"
11116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#include "net/url_request/http_user_agent_settings.h"
12116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
13116680a4aac90f2aa7413d9095a592090648e557Ben Murdochnamespace chromecast {
14116680a4aac90f2aa7413d9095a592090648e557Ben Murdochnamespace shell {
15116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
16116680a4aac90f2aa7413d9095a592090648e557Ben Murdochclass CastHttpUserAgentSettings : public net::HttpUserAgentSettings {
17116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch public:
18116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  CastHttpUserAgentSettings();
19116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  virtual ~CastHttpUserAgentSettings();
20116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
21116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  // net::HttpUserAgentSettings implementation:
22116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  virtual std::string GetAcceptLanguage() const OVERRIDE;
23116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  virtual std::string GetUserAgent() const OVERRIDE;
24116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
25116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch private:
26116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  mutable std::string accept_language_;
27116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
28116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch  DISALLOW_COPY_AND_ASSIGN(CastHttpUserAgentSettings);
29116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch};
30116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch
31116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch}  // namespace shell
32116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch}  // namespace chromecast
33116680a4aac90f2aa7413d9095a592090648e557Ben Murdoch#endif  // CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
34