| 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 "base/guid.h" | 8 #include "base/guid.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/public/browser/client_certificate_delegate.h" | 10 #include "content/public/browser/client_certificate_delegate.h" |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 226 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
| 227 return nullptr; | 227 return nullptr; |
| 228 } | 228 } |
| 229 | 229 |
| 230 std::unique_ptr<storage::QuotaEvictionPolicy> | 230 std::unique_ptr<storage::QuotaEvictionPolicy> |
| 231 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( | 231 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( |
| 232 content::BrowserContext* context) { | 232 content::BrowserContext* context) { |
| 233 return std::unique_ptr<storage::QuotaEvictionPolicy>(); | 233 return std::unique_ptr<storage::QuotaEvictionPolicy>(); |
| 234 } | 234 } |
| 235 | 235 |
| 236 void ContentBrowserClient::GetTemporaryStorageConfiguration( |
| 237 BrowserContext* context, |
| 238 const base::FilePath& partition_path, bool is_incognito, |
| 239 const storage::TemporaryStorageConfigurationCallback& callback) { |
| 240 // By default, no quota is provided, embedders must override. |
| 241 callback.Run(storage::TemporaryStorageConfiguration()); |
| 242 } |
| 243 |
| 236 void ContentBrowserClient::SelectClientCertificate( | 244 void ContentBrowserClient::SelectClientCertificate( |
| 237 WebContents* web_contents, | 245 WebContents* web_contents, |
| 238 net::SSLCertRequestInfo* cert_request_info, | 246 net::SSLCertRequestInfo* cert_request_info, |
| 239 std::unique_ptr<ClientCertificateDelegate> delegate) {} | 247 std::unique_ptr<ClientCertificateDelegate> delegate) {} |
| 240 | 248 |
| 241 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 249 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
| 242 const GURL& url, ResourceContext* context) { | 250 const GURL& url, ResourceContext* context) { |
| 243 return nullptr; | 251 return nullptr; |
| 244 } | 252 } |
| 245 | 253 |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 #if defined(VIDEO_HOLE) | 430 #if defined(VIDEO_HOLE) |
| 423 ExternalVideoSurfaceContainer* | 431 ExternalVideoSurfaceContainer* |
| 424 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 432 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 425 WebContents* web_contents) { | 433 WebContents* web_contents) { |
| 426 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 434 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 427 return nullptr; | 435 return nullptr; |
| 428 } | 436 } |
| 429 #endif | 437 #endif |
| 430 | 438 |
| 431 } // namespace content | 439 } // namespace content |
| OLD | NEW |