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

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

Issue 1103173004: Remove WasChannelIDSent and friends from SSLClientSocket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@virtuals-wat-1
Patch Set: Created 5 years, 7 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 | « no previous file | net/socket/socket_test_util.cc » ('j') | net/socket/ssl_client_socket_openssl.h » ('J')
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_SOCKET_TEST_UTIL_H_ 5 #ifndef NET_SOCKET_SOCKET_TEST_UTIL_H_
6 #define NET_SOCKET_SOCKET_TEST_UTIL_H_ 6 #define NET_SOCKET_SOCKET_TEST_UTIL_H_
7 7
8 #include <cstring> 8 #include <cstring>
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 1031 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 1042
1043 // SSLClientSocket implementation. 1043 // SSLClientSocket implementation.
1044 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; 1044 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override;
1045 NextProtoStatus GetNextProto(std::string* proto) const override; 1045 NextProtoStatus GetNextProto(std::string* proto) const override;
1046 1046
1047 // This MockSocket does not implement the manual async IO feature. 1047 // This MockSocket does not implement the manual async IO feature.
1048 void OnReadComplete(const MockRead& data) override; 1048 void OnReadComplete(const MockRead& data) override;
1049 void OnWriteComplete(int rv) override; 1049 void OnWriteComplete(int rv) override;
1050 void OnConnectComplete(const MockConnect& data) override; 1050 void OnConnectComplete(const MockConnect& data) override;
1051 1051
1052 bool WasChannelIDSent() const override;
1053 void set_channel_id_sent(bool channel_id_sent) override;
1054 ChannelIDService* GetChannelIDService() const override; 1052 ChannelIDService* GetChannelIDService() const override;
1055 1053
1056 private: 1054 private:
1057 static void ConnectCallback(MockSSLClientSocket* ssl_client_socket, 1055 static void ConnectCallback(MockSSLClientSocket* ssl_client_socket,
1058 const CompletionCallback& callback, 1056 const CompletionCallback& callback,
1059 int rv); 1057 int rv);
1060 1058
1061 scoped_ptr<ClientSocketHandle> transport_; 1059 scoped_ptr<ClientSocketHandle> transport_;
1062 SSLSocketDataProvider* data_; 1060 SSLSocketDataProvider* data_;
1063 1061
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
1380 1378
1381 extern const char kSOCKS5OkRequest[]; 1379 extern const char kSOCKS5OkRequest[];
1382 extern const int kSOCKS5OkRequestLength; 1380 extern const int kSOCKS5OkRequestLength;
1383 1381
1384 extern const char kSOCKS5OkResponse[]; 1382 extern const char kSOCKS5OkResponse[];
1385 extern const int kSOCKS5OkResponseLength; 1383 extern const int kSOCKS5OkResponseLength;
1386 1384
1387 } // namespace net 1385 } // namespace net
1388 1386
1389 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_ 1387 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | net/socket/socket_test_util.cc » ('j') | net/socket/ssl_client_socket_openssl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698