Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 2898573002: Refactor client cert private key handling. (Closed)
Patch Set: . Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 bool overridable, 237 bool overridable,
238 bool strict_enforcement, 238 bool strict_enforcement,
239 bool expired_previous_decision, 239 bool expired_previous_decision,
240 const base::Callback<void(CertificateRequestResultType)>& callback) { 240 const base::Callback<void(CertificateRequestResultType)>& callback) {
241 callback.Run(CERTIFICATE_REQUEST_RESULT_TYPE_DENY); 241 callback.Run(CERTIFICATE_REQUEST_RESULT_TYPE_DENY);
242 } 242 }
243 243
244 void ContentBrowserClient::SelectClientCertificate( 244 void ContentBrowserClient::SelectClientCertificate(
245 WebContents* web_contents, 245 WebContents* web_contents,
246 net::SSLCertRequestInfo* cert_request_info, 246 net::SSLCertRequestInfo* cert_request_info,
247 net::CertificateList client_certs, 247 net::ClientCertIdentityList client_certs,
248 std::unique_ptr<ClientCertificateDelegate> delegate) {} 248 std::unique_ptr<ClientCertificateDelegate> delegate) {}
249 249
250 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL( 250 net::URLRequestContext* ContentBrowserClient::OverrideRequestContextForURL(
251 const GURL& url, ResourceContext* context) { 251 const GURL& url, ResourceContext* context) {
252 return nullptr; 252 return nullptr;
253 } 253 }
254 254
255 std::string ContentBrowserClient::GetStoragePartitionIdForSite( 255 std::string ContentBrowserClient::GetStoragePartitionIdForSite(
256 BrowserContext* browser_context, 256 BrowserContext* browser_context,
257 const GURL& site) { 257 const GURL& site) {
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 461
462 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() { 462 bool ContentBrowserClient::ShouldRedirectDOMStorageTaskRunner() {
463 return false; 463 return false;
464 } 464 }
465 465
466 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() { 466 bool ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler() {
467 return false; 467 return false;
468 } 468 }
469 469
470 } // namespace content 470 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698