| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 const content::MainFunctionParams& parameters) override; | 114 const content::MainFunctionParams& parameters) override; |
| 115 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; | 115 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; |
| 116 bool IsHandledURL(const GURL& url) override; | 116 bool IsHandledURL(const GURL& url) override; |
| 117 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 117 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
| 118 int child_process_id) override; | 118 int child_process_id) override; |
| 119 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, | 119 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, |
| 120 content::WebPreferences* prefs) override; | 120 content::WebPreferences* prefs) override; |
| 121 void ResourceDispatcherHostCreated() override; | 121 void ResourceDispatcherHostCreated() override; |
| 122 std::string GetApplicationLocale() override; | 122 std::string GetApplicationLocale() override; |
| 123 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 123 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 124 void GetQuotaSettings( |
| 125 content::BrowserContext* context, |
| 126 const base::FilePath& partition_path, |
| 127 bool is_incognito, |
| 128 const storage::OptionalQuotaSettingsCallback& callback) override; |
| 124 void AllowCertificateError( | 129 void AllowCertificateError( |
| 125 content::WebContents* web_contents, | 130 content::WebContents* web_contents, |
| 126 int cert_error, | 131 int cert_error, |
| 127 const net::SSLInfo& ssl_info, | 132 const net::SSLInfo& ssl_info, |
| 128 const GURL& request_url, | 133 const GURL& request_url, |
| 129 content::ResourceType resource_type, | 134 content::ResourceType resource_type, |
| 130 bool overridable, | 135 bool overridable, |
| 131 bool strict_enforcement, | 136 bool strict_enforcement, |
| 132 bool expired_previous_decision, | 137 bool expired_previous_decision, |
| 133 const base::Callback<void(content::CertificateRequestResultType)>& | 138 const base::Callback<void(content::CertificateRequestResultType)>& |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 CastBrowserMainParts* cast_browser_main_parts_; | 214 CastBrowserMainParts* cast_browser_main_parts_; |
| 210 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 215 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
| 211 | 216 |
| 212 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 217 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
| 213 }; | 218 }; |
| 214 | 219 |
| 215 } // namespace shell | 220 } // namespace shell |
| 216 } // namespace chromecast | 221 } // namespace chromecast |
| 217 | 222 |
| 218 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 223 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |