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

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

Issue 851503003: Update from https://crrev.com/311076 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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/next_proto.cc ('k') | net/socket/socket_test_util.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_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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 SSLSocketDataProvider(IoMode mode, int result); 321 SSLSocketDataProvider(IoMode mode, int result);
322 ~SSLSocketDataProvider(); 322 ~SSLSocketDataProvider();
323 323
324 void SetNextProto(NextProto proto); 324 void SetNextProto(NextProto proto);
325 325
326 MockConnect connect; 326 MockConnect connect;
327 SSLClientSocket::NextProtoStatus next_proto_status; 327 SSLClientSocket::NextProtoStatus next_proto_status;
328 std::string next_proto; 328 std::string next_proto;
329 bool was_npn_negotiated; 329 bool was_npn_negotiated;
330 NextProto protocol_negotiated; 330 NextProto protocol_negotiated;
331 NextProtoVector next_protos_expected_in_ssl_config;
331 bool client_cert_sent; 332 bool client_cert_sent;
332 SSLCertRequestInfo* cert_request_info; 333 SSLCertRequestInfo* cert_request_info;
333 scoped_refptr<X509Certificate> cert; 334 scoped_refptr<X509Certificate> cert;
334 bool channel_id_sent; 335 bool channel_id_sent;
335 ChannelIDService* channel_id_service; 336 ChannelIDService* channel_id_service;
336 int connection_status; 337 int connection_status;
337 // Indicates that the socket should pause in the Connect method. 338 // Indicates that the socket should pause in the Connect method.
338 bool should_pause_on_connect; 339 bool should_pause_on_connect;
339 // Whether or not the Socket should behave like there is a pre-existing 340 // Whether or not the Socket should behave like there is a pre-existing
340 // session to resume. Whether or not such a session is reported as 341 // session to resume. Whether or not such a session is reported as
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1327 1328
1328 extern const char kSOCKS5OkRequest[]; 1329 extern const char kSOCKS5OkRequest[];
1329 extern const int kSOCKS5OkRequestLength; 1330 extern const int kSOCKS5OkRequestLength;
1330 1331
1331 extern const char kSOCKS5OkResponse[]; 1332 extern const char kSOCKS5OkResponse[];
1332 extern const int kSOCKS5OkResponseLength; 1333 extern const int kSOCKS5OkResponseLength;
1333 1334
1334 } // namespace net 1335 } // namespace net
1335 1336
1336 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_ 1337 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/socket/next_proto.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698