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

Side by Side Diff: net/socket/ssl_host_info.h

Issue 9476035: Make CertVerifier a pure virtual interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win shared fix Created 8 years, 9 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
« no previous file with comments | « net/socket/ssl_client_socket_win.cc ('k') | net/socket/ssl_server_socket_unittest.cc » ('j') | 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 NET_SOCKET_SSL_HOST_INFO_H_ 5 #ifndef NET_SOCKET_SSL_HOST_INFO_H_
6 #define NET_SOCKET_SSL_HOST_INFO_H_ 6 #define NET_SOCKET_SSL_HOST_INFO_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "net/base/cert_verifier.h" 15 #include "net/base/cert_verifier.h"
16 #include "net/base/cert_verify_result.h" 16 #include "net/base/cert_verify_result.h"
17 #include "net/base/completion_callback.h" 17 #include "net/base/completion_callback.h"
18 #include "net/base/net_export.h" 18 #include "net/base/net_export.h"
19 #include "net/base/single_request_cert_verifier.h"
19 #include "net/socket/ssl_client_socket.h" 20 #include "net/socket/ssl_client_socket.h"
20 21
21 namespace net { 22 namespace net {
22 23
23 class X509Certificate; 24 class X509Certificate;
24 struct SSLConfig; 25 struct SSLConfig;
25 26
26 // SSLHostInfo is an interface for fetching information about an SSL server. 27 // SSLHostInfo is an interface for fetching information about an SSL server.
27 // This information may be stored on disk so does not include keys or session 28 // This information may be stored on disk so does not include keys or session
28 // information etc. Primarily it's intended for caching the server's 29 // information etc. Primarily it's intended for caching the server's
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 136
136 // GetForHost returns a fresh, allocated SSLHostInfo for the given hostname 137 // GetForHost returns a fresh, allocated SSLHostInfo for the given hostname
137 // or NULL on failure. 138 // or NULL on failure.
138 virtual SSLHostInfo* GetForHost(const std::string& hostname, 139 virtual SSLHostInfo* GetForHost(const std::string& hostname,
139 const SSLConfig& ssl_config) = 0; 140 const SSLConfig& ssl_config) = 0;
140 }; 141 };
141 142
142 } // namespace net 143 } // namespace net
143 144
144 #endif // NET_SOCKET_SSL_HOST_INFO_H_ 145 #endif // NET_SOCKET_SSL_HOST_INFO_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_win.cc ('k') | net/socket/ssl_server_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698