OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "content/public/browser/client_certificate_delegate.h" | 8 #include "content/public/browser/client_certificate_delegate.h" |
9 #include "content/public/common/sandbox_type.h" | 9 #include "content/public/common/sandbox_type.h" |
| 10 #include "storage/browser/quota/quota_manager.h" |
10 #include "ui/gfx/image/image_skia.h" | 11 #include "ui/gfx/image/image_skia.h" |
11 #include "url/gurl.h" | 12 #include "url/gurl.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 | 15 |
15 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 16 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
16 const MainFunctionParams& parameters) { | 17 const MainFunctionParams& parameters) { |
17 return nullptr; | 18 return nullptr; |
18 } | 19 } |
19 | 20 |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 const GURL& first_party_url, | 209 const GURL& first_party_url, |
209 ResourceContext* context) { | 210 ResourceContext* context) { |
210 return true; | 211 return true; |
211 } | 212 } |
212 #endif // defined(ENABLE_WEBRTC) | 213 #endif // defined(ENABLE_WEBRTC) |
213 | 214 |
214 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 215 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
215 return nullptr; | 216 return nullptr; |
216 } | 217 } |
217 | 218 |
| 219 scoped_ptr<storage::QuotaEvictionPolicy> |
| 220 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( |
| 221 content::BrowserContext* context) { |
| 222 return scoped_ptr<storage::QuotaEvictionPolicy>(); |
| 223 } |
| 224 |
218 void ContentBrowserClient::SelectClientCertificate( | 225 void ContentBrowserClient::SelectClientCertificate( |
219 WebContents* web_contents, | 226 WebContents* web_contents, |
220 net::SSLCertRequestInfo* cert_request_info, | 227 net::SSLCertRequestInfo* cert_request_info, |
221 scoped_ptr<ClientCertificateDelegate> delegate) { | 228 scoped_ptr<ClientCertificateDelegate> delegate) { |
222 } | 229 } |
223 | 230 |
224 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 231 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
225 const GURL& url, ResourceContext* context) { | 232 const GURL& url, ResourceContext* context) { |
226 return nullptr; | 233 return nullptr; |
227 } | 234 } |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 #if defined(VIDEO_HOLE) | 401 #if defined(VIDEO_HOLE) |
395 ExternalVideoSurfaceContainer* | 402 ExternalVideoSurfaceContainer* |
396 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 403 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
397 WebContents* web_contents) { | 404 WebContents* web_contents) { |
398 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 405 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
399 return nullptr; | 406 return nullptr; |
400 } | 407 } |
401 #endif | 408 #endif |
402 | 409 |
403 } // namespace content | 410 } // namespace content |
OLD | NEW |