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

Side by Side Diff: content/browser/ssl/ssl_client_auth_handler.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
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_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_H_
6 #define CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_H_ 6 #define CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/sequenced_task_runner_helpers.h" 10 #include "base/sequenced_task_runner_helpers.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // Called on the IO thread. 64 // Called on the IO thread.
65 void DoCertificateSelected(net::X509Certificate* cert); 65 void DoCertificateSelected(net::X509Certificate* cert);
66 66
67 // Selects a client certificate on the UI thread. 67 // Selects a client certificate on the UI thread.
68 void DoSelectCertificate(int render_process_host_id, 68 void DoSelectCertificate(int render_process_host_id,
69 int render_frame_host_id); 69 int render_frame_host_id);
70 70
71 // The net::URLRequest that triggered this client auth. 71 // The net::URLRequest that triggered this client auth.
72 net::URLRequest* request_; 72 net::URLRequest* request_;
73 73
74 // The HttpNetworkSession |request_| is associated with.
75 const net::HttpNetworkSession* http_network_session_;
76
77 // The certs to choose from. 74 // The certs to choose from.
78 scoped_refptr<net::SSLCertRequestInfo> cert_request_info_; 75 scoped_refptr<net::SSLCertRequestInfo> cert_request_info_;
79 76
80 scoped_ptr<net::ClientCertStore> client_cert_store_; 77 scoped_ptr<net::ClientCertStore> client_cert_store_;
81 78
82 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthHandler); 79 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthHandler);
83 }; 80 };
84 81
85 } // namespace content 82 } // namespace content
86 83
87 #endif // CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_H_ 84 #endif // CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_loader_unittest.cc ('k') | content/browser/ssl/ssl_client_auth_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698