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

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

Issue 780383002: Don't key client auth on HttpNetworkSession. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 struct WebWindowFeatures; 51 struct WebWindowFeatures;
52 } 52 }
53 53
54 namespace gfx { 54 namespace gfx {
55 class ImageSkia; 55 class ImageSkia;
56 } 56 }
57 57
58 namespace net { 58 namespace net {
59 class CookieOptions; 59 class CookieOptions;
60 class CookieStore; 60 class CookieStore;
61 class HttpNetworkSession;
62 class NetLog; 61 class NetLog;
63 class SSLCertRequestInfo; 62 class SSLCertRequestInfo;
64 class SSLInfo; 63 class SSLInfo;
65 class URLRequest; 64 class URLRequest;
66 class URLRequestContext; 65 class URLRequestContext;
67 class URLRequestContextGetter; 66 class URLRequestContextGetter;
68 class X509Certificate; 67 class X509Certificate;
69 } 68 }
70 69
71 namespace sandbox { 70 namespace sandbox {
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 bool strict_enforcement, 395 bool strict_enforcement,
397 bool expired_previous_decision, 396 bool expired_previous_decision,
398 const base::Callback<void(bool)>& callback, 397 const base::Callback<void(bool)>& callback,
399 CertificateRequestResultType* result) {} 398 CertificateRequestResultType* result) {}
400 399
401 // Selects a SSL client certificate and returns it to the |callback|. If no 400 // Selects a SSL client certificate and returns it to the |callback|. If no
402 // certificate was selected NULL is returned to the |callback|. 401 // certificate was selected NULL is returned to the |callback|.
403 virtual void SelectClientCertificate( 402 virtual void SelectClientCertificate(
404 int render_process_id, 403 int render_process_id,
405 int render_frame_id, 404 int render_frame_id,
406 const net::HttpNetworkSession* network_session,
407 net::SSLCertRequestInfo* cert_request_info, 405 net::SSLCertRequestInfo* cert_request_info,
408 const base::Callback<void(net::X509Certificate*)>& callback) {} 406 const base::Callback<void(net::X509Certificate*)>& callback) {}
409 407
410 // Adds a new installable certificate or private key. 408 // Adds a new installable certificate or private key.
411 // Typically used to install an X.509 user certificate. 409 // Typically used to install an X.509 user certificate.
412 // Note that it's up to the embedder to verify that the data is 410 // Note that it's up to the embedder to verify that the data is
413 // well-formed. |cert_data| will be NULL if |cert_size| is 0. 411 // well-formed. |cert_data| will be NULL if |cert_size| is 0.
414 virtual void AddCertificate(net::CertificateMimeType cert_type, 412 virtual void AddCertificate(net::CertificateMimeType cert_type,
415 const void* cert_data, 413 const void* cert_data,
416 size_t cert_size, 414 size_t cert_size,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 628 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
631 // implementation. Return NULL to disable external surface video. 629 // implementation. Return NULL to disable external surface video.
632 virtual ExternalVideoSurfaceContainer* 630 virtual ExternalVideoSurfaceContainer*
633 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 631 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
634 #endif 632 #endif
635 }; 633 };
636 634
637 } // namespace content 635 } // namespace content
638 636
639 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 637 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698