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

Side by Side Diff: net/socket/transport_client_socket_pool_unittest.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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 #include "net/socket/transport_client_socket_pool.h" 5 #include "net/socket/transport_client_socket_pool.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
11 #include "base/threading/platform_thread.h" 12 #include "base/threading/platform_thread.h"
12 #include "net/base/ip_endpoint.h" 13 #include "net/base/ip_endpoint.h"
13 #include "net/base/load_timing_info.h" 14 #include "net/base/load_timing_info.h"
14 #include "net/base/load_timing_info_test_util.h" 15 #include "net/base/load_timing_info_test_util.h"
15 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
16 #include "net/base/net_util.h" 17 #include "net/base/net_util.h"
17 #include "net/base/test_completion_callback.h" 18 #include "net/base/test_completion_callback.h"
18 #include "net/dns/mock_host_resolver.h" 19 #include "net/dns/mock_host_resolver.h"
19 #include "net/log/test_net_log.h" 20 #include "net/log/test_net_log.h"
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 handle.socket()->GetLocalAddress(&endpoint); 1129 handle.socket()->GetLocalAddress(&endpoint);
1129 EXPECT_EQ(kIPv6AddressSize, endpoint.address().size()); 1130 EXPECT_EQ(kIPv6AddressSize, endpoint.address().size());
1130 EXPECT_EQ(1, client_socket_factory_.allocation_count()); 1131 EXPECT_EQ(1, client_socket_factory_.allocation_count());
1131 // Verify that TCP FastOpen was not turned on for the socket. 1132 // Verify that TCP FastOpen was not turned on for the socket.
1132 EXPECT_FALSE(handle.socket()->UsingTCPFastOpen()); 1133 EXPECT_FALSE(handle.socket()->UsingTCPFastOpen());
1133 } 1134 }
1134 1135
1135 } // namespace 1136 } // namespace
1136 1137
1137 } // namespace net 1138 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/transport_client_socket_pool_test_util.cc ('k') | net/socket/transport_client_socket_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698