| 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/audio/audio_manager.h" | 18 #include "media/audio/audio_manager.h" |
| 19 #include "media/base/cdm_factory.h" | 19 #include "media/base/cdm_factory.h" |
| 20 #include "media/media_features.h" | 20 #include "media/media_features.h" |
| 21 #include "net/cert/x509_certificate.h" | 21 #include "net/ssl/client_cert_identity.h" |
| 22 #include "storage/browser/quota/quota_manager.h" | 22 #include "storage/browser/quota/quota_manager.h" |
| 23 #include "ui/gfx/image/image_skia.h" | 23 #include "ui/gfx/image/image_skia.h" |
| 24 #include "url/gurl.h" | 24 #include "url/gurl.h" |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| 27 | 27 |
| 28 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 28 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
| 29 const MainFunctionParams& parameters) { | 29 const MainFunctionParams& parameters) { |
| 30 return nullptr; | 30 return nullptr; |
| 31 } | 31 } |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 bool overridable, | 241 bool overridable, |
| 242 bool strict_enforcement, | 242 bool strict_enforcement, |
| 243 bool expired_previous_decision, | 243 bool expired_previous_decision, |
| 244 const base::Callback<void(CertificateRequestResultType)>& callback) { | 244 const base::Callback<void(CertificateRequestResultType)>& callback) { |
| 245 callback.Run(CERTIFICATE_REQUEST_RESULT_TYPE_DENY); | 245 callback.Run(CERTIFICATE_REQUEST_RESULT_TYPE_DENY); |
| 246 } | 246 } |
| 247 | 247 |
| 248 void ContentBrowserClient::SelectClientCertificate( | 248 void ContentBrowserClient::SelectClientCertificate( |
| 249 WebContents* web_contents, | 249 WebContents* web_contents, |
| 250 net::SSLCertRequestInfo* cert_request_info, | 250 net::SSLCertRequestInfo* cert_request_info, |
| 251 net::CertificateList client_certs, | 251 net::ClientCertIdentityList client_certs, |
| 252 std::unique_ptr<ClientCertificateDelegate> delegate) {} | 252 std::unique_ptr<ClientCertificateDelegate> delegate) {} |
| 253 | 253 |
| 254 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( | 254 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( |
| 255 const GURL& url, ResourceContext* context) { | 255 const GURL& url, ResourceContext* context) { |
| 256 return nullptr; | 256 return nullptr; |
| 257 } | 257 } |
| 258 | 258 |
| 259 std::string ContentBrowserClient::GetStoragePartitionIdForSite( | 259 std::string ContentBrowserClient::GetStoragePartitionIdForSite( |
| 260 BrowserContext* browser_context, | 260 BrowserContext* browser_context, |
| 261 const GURL& site) { | 261 const GURL& site) { |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { | 453 ::rappor::RapporService* ContentBrowserClient::GetRapporService() { |
| 454 return nullptr; | 454 return nullptr; |
| 455 } | 455 } |
| 456 | 456 |
| 457 std::unique_ptr<base::TaskScheduler::InitParams> | 457 std::unique_ptr<base::TaskScheduler::InitParams> |
| 458 ContentBrowserClient::GetTaskSchedulerInitParams() { | 458 ContentBrowserClient::GetTaskSchedulerInitParams() { |
| 459 return nullptr; | 459 return nullptr; |
| 460 } | 460 } |
| 461 | 461 |
| 462 } // namespace content | 462 } // namespace content |
| OLD | NEW |