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 <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/guid.h" | 10 #include "base/guid.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "content/public/browser/client_certificate_delegate.h" | 13 #include "content/public/browser/client_certificate_delegate.h" |
14 #include "content/public/browser/memory_coordinator_delegate.h" | 14 #include "content/public/browser/memory_coordinator_delegate.h" |
15 #include "content/public/browser/navigation_ui_data.h" | 15 #include "content/public/browser/navigation_ui_data.h" |
16 #include "content/public/browser/vpn_service_proxy.h" | 16 #include "content/public/browser/vpn_service_proxy.h" |
17 #include "content/public/common/sandbox_type.h" | 17 #include "content/public/common/sandbox_type.h" |
18 #include "media/base/cdm_factory.h" | 18 #include "media/base/cdm_factory.h" |
19 #include "media/media_features.h" | 19 #include "media/media_features.h" |
| 20 #include "net/cert/x509_certificate.h" |
20 #include "storage/browser/quota/quota_manager.h" | 21 #include "storage/browser/quota/quota_manager.h" |
21 #include "ui/gfx/image/image_skia.h" | 22 #include "ui/gfx/image/image_skia.h" |
22 #include "url/gurl.h" | 23 #include "url/gurl.h" |
23 | 24 |
24 namespace content { | 25 namespace content { |
25 | 26 |
26 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 27 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
27 const MainFunctionParams& parameters) { | 28 const MainFunctionParams& parameters) { |
28 return nullptr; | 29 return nullptr; |
29 } | 30 } |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 BrowserContext* context, | 235 BrowserContext* context, |
235 StoragePartition* partition, | 236 StoragePartition* partition, |
236 const storage::OptionalQuotaSettingsCallback& callback) { | 237 const storage::OptionalQuotaSettingsCallback& callback) { |
237 // By default, no quota is provided, embedders should override. | 238 // By default, no quota is provided, embedders should override. |
238 callback.Run(storage::GetNoQuotaSettings()); | 239 callback.Run(storage::GetNoQuotaSettings()); |
239 } | 240 } |
240 | 241 |
241 void ContentBrowserClient::SelectClientCertificate( | 242 void ContentBrowserClient::SelectClientCertificate( |
242 WebContents* web_contents, | 243 WebContents* web_contents, |
243 net::SSLCertRequestInfo* cert_request_info, | 244 net::SSLCertRequestInfo* cert_request_info, |
| 245 net::CertificateList client_certs, |
244 std::unique_ptr<ClientCertificateDelegate> delegate) {} | 246 std::unique_ptr<ClientCertificateDelegate> delegate) {} |
245 | 247 |
246 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 248 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
247 const GURL& url, ResourceContext* context) { | 249 const GURL& url, ResourceContext* context) { |
248 return nullptr; | 250 return nullptr; |
249 } | 251 } |
250 | 252 |
251 std::string ContentBrowserClient::GetStoragePartitionIdForSite( | 253 std::string ContentBrowserClient::GetStoragePartitionIdForSite( |
252 BrowserContext* browser_context, | 254 BrowserContext* browser_context, |
253 const GURL& site) { | 255 const GURL& site) { |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 | 455 |
454 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { | 456 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { |
455 return false; | 457 return false; |
456 } | 458 } |
457 | 459 |
458 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { | 460 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { |
459 return false; | 461 return false; |
460 } | 462 } |
461 | 463 |
462 } // namespace content | 464 } // namespace content |
OLD | NEW |