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

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

Issue 8817021: Add a new SSLClientSocket::was_origin_cert_sent() method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #define SECURITY_WIN32 // Needs to be defined before including security.h 9 #define SECURITY_WIN32 // Needs to be defined before including security.h
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ~SSLClientSocketWin(); 46 ~SSLClientSocketWin();
47 47
48 // SSLClientSocket methods: 48 // SSLClientSocket methods:
49 virtual void GetSSLInfo(SSLInfo* ssl_info); 49 virtual void GetSSLInfo(SSLInfo* ssl_info);
50 virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); 50 virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info);
51 virtual int ExportKeyingMaterial(const base::StringPiece& label, 51 virtual int ExportKeyingMaterial(const base::StringPiece& label,
52 const base::StringPiece& context, 52 const base::StringPiece& context,
53 unsigned char *out, 53 unsigned char *out,
54 unsigned int outlen); 54 unsigned int outlen);
55 virtual NextProtoStatus GetNextProto(std::string* proto); 55 virtual NextProtoStatus GetNextProto(std::string* proto);
56 virtual bool WasOriginBoundCertNegotiated() OVERRIDE;
56 57
57 // StreamSocket methods: 58 // StreamSocket methods:
58 virtual int Connect(OldCompletionCallback* callback); 59 virtual int Connect(OldCompletionCallback* callback);
59 virtual void Disconnect(); 60 virtual void Disconnect();
60 virtual bool IsConnected() const; 61 virtual bool IsConnected() const;
61 virtual bool IsConnectedAndIdle() const; 62 virtual bool IsConnectedAndIdle() const;
62 virtual int GetPeerAddress(AddressList* address) const; 63 virtual int GetPeerAddress(AddressList* address) const;
63 virtual int GetLocalAddress(IPEndPoint* address) const; 64 virtual int GetLocalAddress(IPEndPoint* address) const;
64 virtual const BoundNetLog& NetLog() const { return net_log_; } 65 virtual const BoundNetLog& NetLog() const { return net_log_; }
65 virtual void SetSubresourceSpeculation(); 66 virtual void SetSubresourceSpeculation();
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 203
203 // True when the decrypter needs more data in order to decrypt. 204 // True when the decrypter needs more data in order to decrypt.
204 bool need_more_data_; 205 bool need_more_data_;
205 206
206 BoundNetLog net_log_; 207 BoundNetLog net_log_;
207 }; 208 };
208 209
209 } // namespace net 210 } // namespace net
210 211
211 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ 212 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698