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

Side by Side Diff: net/base/ssl_cert_request_info.h

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (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 NET_BASE_SSL_CERT_REQUEST_INFO_H_ 5 #ifndef NET_BASE_SSL_CERT_REQUEST_INFO_H_
6 #define NET_BASE_SSL_CERT_REQUEST_INFO_H_ 6 #define NET_BASE_SSL_CERT_REQUEST_INFO_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "net/base/net_api.h" 13 #include "net/base/net_export.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 class X509Certificate; 17 class X509Certificate;
18 18
19 // The SSLCertRequestInfo class contains the info that allows a user to 19 // The SSLCertRequestInfo class contains the info that allows a user to
20 // select a certificate to send to the SSL server for client authentication. 20 // select a certificate to send to the SSL server for client authentication.
21 class NET_API SSLCertRequestInfo 21 class NET_EXPORT SSLCertRequestInfo
22 : public base::RefCountedThreadSafe<SSLCertRequestInfo> { 22 : public base::RefCountedThreadSafe<SSLCertRequestInfo> {
23 public: 23 public:
24 SSLCertRequestInfo(); 24 SSLCertRequestInfo();
25 25
26 void Reset(); 26 void Reset();
27 27
28 // The host and port of the SSL server that requested client authentication. 28 // The host and port of the SSL server that requested client authentication.
29 std::string host_and_port; 29 std::string host_and_port;
30 30
31 // A list of client certificates that match the server's criteria in the 31 // A list of client certificates that match the server's criteria in the
(...skipping 14 matching lines...) Expand all
46 46
47 private: 47 private:
48 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>; 48 friend class base::RefCountedThreadSafe<SSLCertRequestInfo>;
49 49
50 ~SSLCertRequestInfo(); 50 ~SSLCertRequestInfo();
51 }; 51 };
52 52
53 } // namespace net 53 } // namespace net
54 54
55 #endif // NET_BASE_SSL_CERT_REQUEST_INFO_H_ 55 #endif // NET_BASE_SSL_CERT_REQUEST_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698