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

Side by Side Diff: chromecast/shell/browser/cast_http_user_agent_settings.h

Issue 223143003: Initial checkin of chromecast content embedder (cast_shell) and related build scripts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modified to use aura and ozone for cast shell. Created 6 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 #ifndef CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
6 #define CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/prefs/pref_member.h"
10 #include "net/url_request/http_user_agent_settings.h"
11
12 namespace chromecast {
13 namespace shell {
14
15 class CastHttpUserAgentSettings : public net::HttpUserAgentSettings {
16 public:
17 CastHttpUserAgentSettings();
18 virtual ~CastHttpUserAgentSettings();
19
20 // Implementation of net::HttpUserAgentSettings.
21 virtual std::string GetAcceptLanguage() const OVERRIDE;
22 virtual std::string GetUserAgent() const OVERRIDE;
23
24 private:
25 mutable std::string accept_language_;
26
27 DISALLOW_COPY_AND_ASSIGN(CastHttpUserAgentSettings);
28 };
29
30 } // namespace shell
31 } // namespace chromecast
32 #endif // CHROMECAST_SHELL_BROWSER_CAST_HTTP_USER_AGENT_SETTINGS_H_
OLDNEW
« no previous file with comments | « chromecast/shell/browser/cast_content_browser_client.cc ('k') | chromecast/shell/browser/cast_http_user_agent_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698