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

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

Issue 118039: Implement SSL client authentication for Windows.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Upload before checkin Created 11 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
« no previous file with comments | « net/base/ssl_client_socket.h ('k') | net/base/ssl_client_socket_mac.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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_CLIENT_SOCKET_MAC_H_ 5 #ifndef NET_BASE_SSL_CLIENT_SOCKET_MAC_H_
6 #define NET_BASE_SSL_CLIENT_SOCKET_MAC_H_ 6 #define NET_BASE_SSL_CLIENT_SOCKET_MAC_H_
7 7
8 #include <Security/Security.h> 8 #include <Security/Security.h>
9 9
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
(...skipping 12 matching lines...) Expand all
24 // The given hostname will be compared with the name(s) in the server's 24 // The given hostname will be compared with the name(s) in the server's
25 // certificate during the SSL handshake. ssl_config specifies the SSL 25 // certificate during the SSL handshake. ssl_config specifies the SSL
26 // settings. 26 // settings.
27 SSLClientSocketMac(ClientSocket* transport_socket, 27 SSLClientSocketMac(ClientSocket* transport_socket,
28 const std::string& hostname, 28 const std::string& hostname,
29 const SSLConfig& ssl_config); 29 const SSLConfig& ssl_config);
30 ~SSLClientSocketMac(); 30 ~SSLClientSocketMac();
31 31
32 // SSLClientSocket methods: 32 // SSLClientSocket methods:
33 virtual void GetSSLInfo(SSLInfo* ssl_info); 33 virtual void GetSSLInfo(SSLInfo* ssl_info);
34 virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info);
34 35
35 // ClientSocket methods: 36 // ClientSocket methods:
36 virtual int Connect(CompletionCallback* callback); 37 virtual int Connect(CompletionCallback* callback);
37 virtual void Disconnect(); 38 virtual void Disconnect();
38 virtual bool IsConnected() const; 39 virtual bool IsConnected() const;
39 virtual bool IsConnectedAndIdle() const; 40 virtual bool IsConnectedAndIdle() const;
40 41
41 // Socket methods: 42 // Socket methods:
42 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback); 43 virtual int Read(IOBuffer* buf, int buf_len, CompletionCallback* callback);
43 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback); 44 virtual int Write(IOBuffer* buf, int buf_len, CompletionCallback* callback);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 int recv_buffer_tail_slop_; 99 int recv_buffer_tail_slop_;
99 100
100 // This buffer holds data for Read() operations on the underlying transport 101 // This buffer holds data for Read() operations on the underlying transport
101 // (ClientSocket::Read()). 102 // (ClientSocket::Read()).
102 scoped_refptr<IOBuffer> read_io_buf_; 103 scoped_refptr<IOBuffer> read_io_buf_;
103 }; 104 };
104 105
105 } // namespace net 106 } // namespace net
106 107
107 #endif // NET_BASE_SSL_CLIENT_SOCKET_MAC_H_ 108 #endif // NET_BASE_SSL_CLIENT_SOCKET_MAC_H_
OLDNEW
« no previous file with comments | « net/base/ssl_client_socket.h ('k') | net/base/ssl_client_socket_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698