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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 const content::MainFunctionParams& parameters) override; | 120 const content::MainFunctionParams& parameters) override; |
121 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; | 121 void RenderProcessWillLaunch(content::RenderProcessHost* host) override; |
122 bool IsHandledURL(const GURL& url) override; | 122 bool IsHandledURL(const GURL& url) override; |
123 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, | 123 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
124 int child_process_id) override; | 124 int child_process_id) override; |
125 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, | 125 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, |
126 content::WebPreferences* prefs) override; | 126 content::WebPreferences* prefs) override; |
127 void ResourceDispatcherHostCreated() override; | 127 void ResourceDispatcherHostCreated() override; |
128 std::string GetApplicationLocale() override; | 128 std::string GetApplicationLocale() override; |
129 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; | 129 content::QuotaPermissionContext* CreateQuotaPermissionContext() override; |
| 130 void GetQuotaSettings( |
| 131 content::BrowserContext* context, |
| 132 content::StoragePartition* partition, |
| 133 const storage::OptionalQuotaSettingsCallback& callback) override; |
130 void AllowCertificateError( | 134 void AllowCertificateError( |
131 content::WebContents* web_contents, | 135 content::WebContents* web_contents, |
132 int cert_error, | 136 int cert_error, |
133 const net::SSLInfo& ssl_info, | 137 const net::SSLInfo& ssl_info, |
134 const GURL& request_url, | 138 const GURL& request_url, |
135 content::ResourceType resource_type, | 139 content::ResourceType resource_type, |
136 bool overridable, | 140 bool overridable, |
137 bool strict_enforcement, | 141 bool strict_enforcement, |
138 bool expired_previous_decision, | 142 bool expired_previous_decision, |
139 const base::Callback<void(content::CertificateRequestResultType)>& | 143 const base::Callback<void(content::CertificateRequestResultType)>& |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 CastBrowserMainParts* cast_browser_main_parts_; | 206 CastBrowserMainParts* cast_browser_main_parts_; |
203 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; | 207 std::unique_ptr<URLRequestContextFactory> url_request_context_factory_; |
204 | 208 |
205 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); | 209 DISALLOW_COPY_AND_ASSIGN(CastContentBrowserClient); |
206 }; | 210 }; |
207 | 211 |
208 } // namespace shell | 212 } // namespace shell |
209 } // namespace chromecast | 213 } // namespace chromecast |
210 | 214 |
211 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ | 215 #endif // CHROMECAST_BROWSER_CAST_CONTENT_BROWSER_CLIENT_H_ |
OLD | NEW |