| 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 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 // on browser startup. | 92 // on browser startup. |
| 93 virtual bool EnableRemoteDebuggingImmediately(); | 93 virtual bool EnableRemoteDebuggingImmediately(); |
| 94 | 94 |
| 95 // content::ContentBrowserClient implementation: | 95 // content::ContentBrowserClient implementation: |
| 96 content::BrowserMainParts* CreateBrowserMainParts( | 96 content::BrowserMainParts* CreateBrowserMainParts( |
| 97 const content::MainFunctionParams& parameters) override; | 97 const content::MainFunctionParams& parameters) override; |
| 98 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; | 98 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; |
| 99 bool IsHandledURL(const GURL& url) override; | 99 bool IsHandledURL(const GURL& url) override; |
| 100 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 100 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
| 101 int child_process_id) override; | 101 int child_process_id) override; |
| 102 content::GeolocationProvider::Delegate* CreateGeolocationDelegate() override; | 102 content::GeolocationDelegate* CreateGeolocationDelegate() override; |
| 103 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, | 103 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, |
| 104 content::WebPreferences* prefs) override; | 104 content::WebPreferences* prefs) override; |
| 105 void ResourceDispatcherHostCreated() override; | 105 void ResourceDispatcherHostCreated() override; |
| 106 std::string GetApplicationLocale() override; | 106 std::string GetApplicationLocale() override; |
| 107 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 107 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 108 void AllowCertificateError( | 108 void AllowCertificateError( |
| 109 content::WebContents* web_contents, | 109 content::WebContents* web_contents, |
| 110 int cert_error, | 110 int cert_error, |
| 111 const net::SSLInfo& ssl_info, | 111 const net::SSLInfo& ssl_info, |
| 112 const GURL& request_url, | 112 const GURL& request_url, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 CastBrowserMainParts* cast_browser_main_parts_; | 192 CastBrowserMainParts* cast_browser_main_parts_; |
| 193 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 193 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 194 | 194 |
| 195 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 195 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace shell | 198 } // namespace shell |
| 199 } // namespace chromecast | 199 } // namespace chromecast |
| 200 | 200 |
| 201 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 201 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |