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

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

Issue 12680003: net: split net/ssl out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « net/socket/client_socket_pool_manager_impl.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>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "base/memory/scoped_vector.h" 17 #include "base/memory/scoped_vector.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/string16.h" 19 #include "base/string16.h"
20 #include "net/base/address_list.h" 20 #include "net/base/address_list.h"
21 #include "net/base/io_buffer.h" 21 #include "net/base/io_buffer.h"
22 #include "net/base/net_errors.h" 22 #include "net/base/net_errors.h"
23 #include "net/base/net_log.h" 23 #include "net/base/net_log.h"
24 #include "net/base/ssl_config_service.h"
25 #include "net/base/test_completion_callback.h" 24 #include "net/base/test_completion_callback.h"
26 #include "net/http/http_auth_controller.h" 25 #include "net/http/http_auth_controller.h"
27 #include "net/http/http_proxy_client_socket_pool.h" 26 #include "net/http/http_proxy_client_socket_pool.h"
28 #include "net/socket/client_socket_factory.h" 27 #include "net/socket/client_socket_factory.h"
29 #include "net/socket/client_socket_handle.h" 28 #include "net/socket/client_socket_handle.h"
30 #include "net/socket/socks_client_socket_pool.h" 29 #include "net/socket/socks_client_socket_pool.h"
31 #include "net/socket/ssl_client_socket.h" 30 #include "net/socket/ssl_client_socket.h"
32 #include "net/socket/ssl_client_socket_pool.h" 31 #include "net/socket/ssl_client_socket_pool.h"
33 #include "net/socket/transport_client_socket_pool.h" 32 #include "net/socket/transport_client_socket_pool.h"
33 #include "net/ssl/ssl_config_service.h"
34 #include "net/udp/datagram_client_socket.h" 34 #include "net/udp/datagram_client_socket.h"
35 #include "testing/gtest/include/gtest/gtest.h" 35 #include "testing/gtest/include/gtest/gtest.h"
36 36
37 namespace net { 37 namespace net {
38 38
39 enum { 39 enum {
40 // A private network error code used by the socket test utility classes. 40 // A private network error code used by the socket test utility classes.
41 // If the |result| member of a MockRead is 41 // If the |result| member of a MockRead is
42 // ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ, that MockRead is just a 42 // ERR_TEST_PEER_CLOSE_AFTER_NEXT_MOCK_READ, that MockRead is just a
43 // marker that indicates the peer will close the connection after the next 43 // marker that indicates the peer will close the connection after the next
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 1074
1075 extern const char kSOCKS5OkRequest[]; 1075 extern const char kSOCKS5OkRequest[];
1076 extern const int kSOCKS5OkRequestLength; 1076 extern const int kSOCKS5OkRequestLength;
1077 1077
1078 extern const char kSOCKS5OkResponse[]; 1078 extern const char kSOCKS5OkResponse[];
1079 extern const int kSOCKS5OkResponseLength; 1079 extern const int kSOCKS5OkResponseLength;
1080 1080
1081 } // namespace net 1081 } // namespace net
1082 1082
1083 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_ 1083 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/socket/client_socket_pool_manager_impl.cc ('k') | net/socket/socket_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698