OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 6 #define CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 content::BrowserContext* browser_context, | 46 content::BrowserContext* browser_context, |
47 content::ProtocolHandlerMap* protocol_handlers, | 47 content::ProtocolHandlerMap* protocol_handlers, |
48 content::URLRequestInterceptorScopedVector request_interceptors) | 48 content::URLRequestInterceptorScopedVector request_interceptors) |
49 override; | 49 override; |
50 bool IsHandledURL(const GURL& url) override; | 50 bool IsHandledURL(const GURL& url) override; |
51 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 51 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
52 int child_process_id) override; | 52 int child_process_id) override; |
53 content::AccessTokenStore* CreateAccessTokenStore() override; | 53 content::AccessTokenStore* CreateAccessTokenStore() override; |
54 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, | 54 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, |
55 content::WebPreferences* prefs) override; | 55 content::WebPreferences* prefs) override; |
| 56 void ResourceDispatcherHostCreated() override; |
56 std::string GetApplicationLocale() override; | 57 std::string GetApplicationLocale() override; |
57 void AllowCertificateError( | 58 void AllowCertificateError( |
58 int render_process_id, | 59 int render_process_id, |
59 int render_view_id, | 60 int render_view_id, |
60 int cert_error, | 61 int cert_error, |
61 const net::SSLInfo& ssl_info, | 62 const net::SSLInfo& ssl_info, |
62 const GURL& request_url, | 63 const GURL& request_url, |
63 content::ResourceType resource_type, | 64 content::ResourceType resource_type, |
64 bool overridable, | 65 bool overridable, |
65 bool strict_enforcement, | 66 bool strict_enforcement, |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 117 |
117 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; | 118 scoped_ptr<URLRequestContextFactory> url_request_context_factory_; |
118 | 119 |
119 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 120 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
120 }; | 121 }; |
121 | 122 |
122 } // namespace shell | 123 } // namespace shell |
123 } // namespace chromecast | 124 } // namespace chromecast |
124 | 125 |
125 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 126 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |