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