| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { | 223 QuotaPermissionContext* ContentBrowserClient::CreateQuotaPermissionContext() { |
| 224 return nullptr; | 224 return nullptr; |
| 225 } | 225 } |
| 226 | 226 |
| 227 std::unique_ptr<storage::QuotaEvictionPolicy> | 227 std::unique_ptr<storage::QuotaEvictionPolicy> |
| 228 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( | 228 ContentBrowserClient::GetTemporaryStorageEvictionPolicy( |
| 229 content::BrowserContext* context) { | 229 content::BrowserContext* context) { |
| 230 return std::unique_ptr<storage::QuotaEvictionPolicy>(); | 230 return std::unique_ptr<storage::QuotaEvictionPolicy>(); |
| 231 } | 231 } |
| 232 | 232 |
| 233 void ContentBrowserClient::GetTemporaryStorageConfiguration( |
| 234 BrowserContext* context, |
| 235 const base::FilePath& partition_path, bool is_incognito, |
| 236 const storage::TemporaryStorageConfigurationCallback& callback) { |
| 237 // By default, no quota is provided, embedders should override. |
| 238 callback.Run(storage::TemporaryStorageConfiguration()); |
| 239 } |
| 240 |
| 233 void ContentBrowserClient::SelectClientCertificate( | 241 void ContentBrowserClient::SelectClientCertificate( |
| 234 WebContents* web_contents, | 242 WebContents* web_contents, |
| 235 net::SSLCertRequestInfo* cert_request_info, | 243 net::SSLCertRequestInfo* cert_request_info, |
| 236 std::unique_ptr<ClientCertificateDelegate> delegate) {} | 244 std::unique_ptr<ClientCertificateDelegate> delegate) {} |
| 237 | 245 |
| 238 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 246 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
| 239 const GURL& url, ResourceContext* context) { | 247 const GURL& url, ResourceContext* context) { |
| 240 return nullptr; | 248 return nullptr; |
| 241 } | 249 } |
| 242 | 250 |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 424 const std::string& name) { | 432 const std::string& name) { |
| 425 return nullptr; | 433 return nullptr; |
| 426 } | 434 } |
| 427 | 435 |
| 428 std::unique_ptr<MemoryCoordinatorDelegate> | 436 std::unique_ptr<MemoryCoordinatorDelegate> |
| 429 ContentBrowserClient::GetMemoryCoordinatorDelegate() { | 437 ContentBrowserClient::GetMemoryCoordinatorDelegate() { |
| 430 return std::unique_ptr<MemoryCoordinatorDelegate>(); | 438 return std::unique_ptr<MemoryCoordinatorDelegate>(); |
| 431 } | 439 } |
| 432 | 440 |
| 433 } // namespace content | 441 } // namespace content |
| OLD | NEW |