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

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

Issue 7111013: Move most of the core SSL code from chrome to content. The UI code that's specific to Chrome (i.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | 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 CHROME_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_ 5 #ifndef CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_
6 #define CHROME_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_ 6 #define CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 namespace net { 10 namespace net {
11 class X509Certificate; 11 class X509Certificate;
12 class SSLCertRequestInfo; 12 class SSLCertRequestInfo;
13 } 13 }
14 14
15 class SSLClientAuthNotificationDetails { 15 class SSLClientAuthNotificationDetails {
16 public: 16 public:
17 SSLClientAuthNotificationDetails( 17 SSLClientAuthNotificationDetails(
18 const net::SSLCertRequestInfo* cert_request_info, 18 const net::SSLCertRequestInfo* cert_request_info,
19 net::X509Certificate* selected_cert); 19 net::X509Certificate* selected_cert);
20 20
21 bool IsSameHost(const net::SSLCertRequestInfo* cert_request_info) const; 21 bool IsSameHost(const net::SSLCertRequestInfo* cert_request_info) const;
22 net::X509Certificate* selected_cert() const { return selected_cert_; } 22 net::X509Certificate* selected_cert() const { return selected_cert_; }
23 23
24 private: 24 private:
25 // Notifications are synchronous, so we don't need to hold our own references. 25 // Notifications are synchronous, so we don't need to hold our own references.
26 const net::SSLCertRequestInfo* cert_request_info_; 26 const net::SSLCertRequestInfo* cert_request_info_;
27 net::X509Certificate* selected_cert_; 27 net::X509Certificate* selected_cert_;
28 28
29 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthNotificationDetails); 29 DISALLOW_COPY_AND_ASSIGN(SSLClientAuthNotificationDetails);
30 }; 30 };
31 31
32 #endif // CHROME_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_ 32 #endif // CONTENT_BROWSER_SSL_SSL_CLIENT_AUTH_NOTIFICATION_DETAILS_H_
OLDNEW
« no previous file with comments | « content/browser/ssl/ssl_client_auth_handler.cc ('k') | content/browser/ssl/ssl_client_auth_notification_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698