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

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

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month 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
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 15 matching lines...) Expand all
26 #include "net/base/address_list.h" 26 #include "net/base/address_list.h"
27 #include "net/base/io_buffer.h" 27 #include "net/base/io_buffer.h"
28 #include "net/base/net_errors.h" 28 #include "net/base/net_errors.h"
29 #include "net/base/test_completion_callback.h" 29 #include "net/base/test_completion_callback.h"
30 #include "net/http/http_auth_controller.h" 30 #include "net/http/http_auth_controller.h"
31 #include "net/http/http_proxy_client_socket_pool.h" 31 #include "net/http/http_proxy_client_socket_pool.h"
32 #include "net/log/net_log_with_source.h" 32 #include "net/log/net_log_with_source.h"
33 #include "net/socket/client_socket_factory.h" 33 #include "net/socket/client_socket_factory.h"
34 #include "net/socket/client_socket_handle.h" 34 #include "net/socket/client_socket_handle.h"
35 #include "net/socket/connection_attempts.h" 35 #include "net/socket/connection_attempts.h"
36 #include "net/socket/datagram_client_socket.h"
36 #include "net/socket/socket_performance_watcher.h" 37 #include "net/socket/socket_performance_watcher.h"
37 #include "net/socket/socks_client_socket_pool.h" 38 #include "net/socket/socks_client_socket_pool.h"
38 #include "net/socket/ssl_client_socket.h" 39 #include "net/socket/ssl_client_socket.h"
39 #include "net/socket/ssl_client_socket_pool.h" 40 #include "net/socket/ssl_client_socket_pool.h"
40 #include "net/socket/transport_client_socket_pool.h" 41 #include "net/socket/transport_client_socket_pool.h"
41 #include "net/ssl/ssl_config_service.h" 42 #include "net/ssl/ssl_config_service.h"
42 #include "net/udp/datagram_client_socket.h"
43 #include "testing/gtest/include/gtest/gtest.h" 43 #include "testing/gtest/include/gtest/gtest.h"
44 44
45 namespace base { 45 namespace base {
46 class RunLoop; 46 class RunLoop;
47 } 47 }
48 48
49 namespace net { 49 namespace net {
50 50
51 class NetLog; 51 class NetLog;
52 52
(...skipping 962 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 1015
1016 // Helper function to get the total data size of the MockReads in |reads|. 1016 // Helper function to get the total data size of the MockReads in |reads|.
1017 int64_t CountReadBytes(const MockRead reads[], size_t reads_size); 1017 int64_t CountReadBytes(const MockRead reads[], size_t reads_size);
1018 1018
1019 // Helper function to get the total data size of the MockWrites in |writes|. 1019 // Helper function to get the total data size of the MockWrites in |writes|.
1020 int64_t CountWriteBytes(const MockWrite writes[], size_t writes_size); 1020 int64_t CountWriteBytes(const MockWrite writes[], size_t writes_size);
1021 1021
1022 } // namespace net 1022 } // namespace net
1023 1023
1024 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_ 1024 #endif // NET_SOCKET_SOCKET_TEST_UTIL_H_
OLDNEW
« no previous file with comments | « net/socket/fuzzed_socket_factory.cc ('k') | net/socket/transport_client_socket_pool_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698