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

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

Issue 1807063002: Remove GetTLSUniqueChannelBinding. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | net/socket/ssl_client_socket_nss.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_CLIENT_SOCKET_NSS_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
7 7
8 #include <certt.h> 8 #include <certt.h>
9 #include <keyt.h> 9 #include <keyt.h>
10 #include <nspr.h> 10 #include <nspr.h>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // SSLClientSocket implementation. 60 // SSLClientSocket implementation.
61 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; 61 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
62 NextProtoStatus GetNextProto(std::string* proto) const override; 62 NextProtoStatus GetNextProto(std::string* proto) const override;
63 63
64 // SSLSocket implementation. 64 // SSLSocket implementation.
65 int ExportKeyingMaterial(const base::StringPiece& label, 65 int ExportKeyingMaterial(const base::StringPiece& label,
66 bool has_context, 66 bool has_context,
67 const base::StringPiece& context, 67 const base::StringPiece& context,
68 unsigned char* out, 68 unsigned char* out,
69 unsigned int outlen) override; 69 unsigned int outlen) override;
70 int GetTLSUniqueChannelBinding(std::string* out) override;
71 70
72 // StreamSocket implementation. 71 // StreamSocket implementation.
73 int Connect(const CompletionCallback& callback) override; 72 int Connect(const CompletionCallback& callback) override;
74 void Disconnect() override; 73 void Disconnect() override;
75 bool IsConnected() const override; 74 bool IsConnected() const override;
76 bool IsConnectedAndIdle() const override; 75 bool IsConnectedAndIdle() const override;
77 int GetPeerAddress(IPEndPoint* address) const override; 76 int GetPeerAddress(IPEndPoint* address) const override;
78 int GetLocalAddress(IPEndPoint* address) const override; 77 int GetLocalAddress(IPEndPoint* address) const override;
79 const BoundNetLog& NetLog() const override; 78 const BoundNetLog& NetLog() const override;
80 void SetSubresourceSpeculation() override; 79 void SetSubresourceSpeculation() override;
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // Added the following code Debugging in release mode. 210 // Added the following code Debugging in release mode.
212 mutable base::Lock lock_; 211 mutable base::Lock lock_;
213 // This is mutable so that CalledOnValidThread can set it. 212 // This is mutable so that CalledOnValidThread can set it.
214 // It's guarded by |lock_|. 213 // It's guarded by |lock_|.
215 mutable base::PlatformThreadId valid_thread_id_; 214 mutable base::PlatformThreadId valid_thread_id_;
216 }; 215 };
217 216
218 } // namespace net 217 } // namespace net
219 218
220 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 219 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
OLDNEW
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698