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

Side by Side Diff: content/browser/ssl/ssl_client_auth_handler.h

Issue 7537025: Add new Content settings type AUTO-SUBMIT-CERTIFICATE (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 private: 57 private:
58 friend class BrowserThread; 58 friend class BrowserThread;
59 friend class DeleteTask<SSLClientAuthHandler>; 59 friend class DeleteTask<SSLClientAuthHandler>;
60 60
61 // Notifies that the user has selected a cert. 61 // Notifies that the user has selected a cert.
62 // Called on the IO thread. 62 // Called on the IO thread.
63 void DoCertificateSelected(net::X509Certificate* cert); 63 void DoCertificateSelected(net::X509Certificate* cert);
64 64
65 // Calls the SSL helper on the UI thread. 65 // Calls the SSL helper on the UI thread.
66 void ShowClientCertificateRequestDialog(int render_process_host_id, 66 void SelectClientCertificate(int render_process_host_id,
wtc 2011/08/11 18:33:55 "SelectClientCertificate" is too similar to the pu
markusheintz_ 2011/08/15 19:09:04 Thanks a lot for the explanation.
wtc 2011/08/18 19:34:21 Yes. This is actually what the Style Guide recomm
67 int render_view_host_id); 67 int render_view_host_id);
68 68
69 // The net::URLRequest that triggered this client auth. 69 // The net::URLRequest that triggered this client auth.
70 net::URLRequest* request_; 70 net::URLRequest* request_;
71 71
72 // The certs to choose from. 72 // The certs to choose from.
73 scoped_refptr<net::SSLCertRequestInfo> cert_request_info_; 73 scoped_refptr<net::SSLCertRequestInfo> cert_request_info_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthHandler); 75 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthHandler);
76 }; 76 };
77 77
(...skipping 25 matching lines...) Expand all
103 scoped_refptr<net::SSLCertRequestInfo> cert_request_info_; 103 scoped_refptr<net::SSLCertRequestInfo> cert_request_info_;
104 104
105 scoped_refptr<SSLClientAuthHandler> handler_; 105 scoped_refptr<SSLClientAuthHandler> handler_;
106 106
107 NotificationRegistrar notification_registrar_; 107 NotificationRegistrar notification_registrar_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthObserver); 109 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthObserver);
110 }; 110 };
111 111
112 #endif // CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_H_ 112 #endif // CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698