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

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

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
« no previous file with comments | « net/socket/client_socket_factory.cc ('k') | net/socket/datagram_client_socket.h » ('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 #include "net/socket/client_socket_pool_base.h" 5 #include "net/socket/client_socket_pool_base.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 22 matching lines...) Expand all
33 #include "net/http/http_response_headers.h" 33 #include "net/http/http_response_headers.h"
34 #include "net/log/net_log.h" 34 #include "net/log/net_log.h"
35 #include "net/log/net_log_event_type.h" 35 #include "net/log/net_log_event_type.h"
36 #include "net/log/net_log_source.h" 36 #include "net/log/net_log_source.h"
37 #include "net/log/net_log_source_type.h" 37 #include "net/log/net_log_source_type.h"
38 #include "net/log/test_net_log.h" 38 #include "net/log/test_net_log.h"
39 #include "net/log/test_net_log_entry.h" 39 #include "net/log/test_net_log_entry.h"
40 #include "net/log/test_net_log_util.h" 40 #include "net/log/test_net_log_util.h"
41 #include "net/socket/client_socket_factory.h" 41 #include "net/socket/client_socket_factory.h"
42 #include "net/socket/client_socket_handle.h" 42 #include "net/socket/client_socket_handle.h"
43 #include "net/socket/datagram_client_socket.h"
43 #include "net/socket/socket_performance_watcher.h" 44 #include "net/socket/socket_performance_watcher.h"
44 #include "net/socket/socket_test_util.h" 45 #include "net/socket/socket_test_util.h"
45 #include "net/socket/ssl_client_socket.h" 46 #include "net/socket/ssl_client_socket.h"
46 #include "net/socket/stream_socket.h" 47 #include "net/socket/stream_socket.h"
47 #include "net/test/gtest_util.h" 48 #include "net/test/gtest_util.h"
48 #include "net/udp/datagram_client_socket.h"
49 #include "testing/gmock/include/gmock/gmock.h" 49 #include "testing/gmock/include/gmock/gmock.h"
50 #include "testing/gtest/include/gtest/gtest.h" 50 #include "testing/gtest/include/gtest/gtest.h"
51 51
52 using net::test::IsError; 52 using net::test::IsError;
53 using net::test::IsOk; 53 using net::test::IsOk;
54 54
55 using ::testing::Invoke; 55 using ::testing::Invoke;
56 using ::testing::Return; 56 using ::testing::Return;
57 57
58 namespace net { 58 namespace net {
(...skipping 3741 matching lines...) Expand 10 before | Expand all | Expand 10 after
3800 request(1)->handle()->Reset(); 3800 request(1)->handle()->Reset();
3801 ASSERT_EQ(1, pool_->NumConnectJobsInGroup("a")); 3801 ASSERT_EQ(1, pool_->NumConnectJobsInGroup("a"));
3802 3802
3803 EXPECT_THAT(request(2)->WaitForResult(), IsOk()); 3803 EXPECT_THAT(request(2)->WaitForResult(), IsOk());
3804 EXPECT_FALSE(request(1)->have_result()); 3804 EXPECT_FALSE(request(1)->have_result());
3805 } 3805 }
3806 3806
3807 } // namespace 3807 } // namespace
3808 3808
3809 } // namespace net 3809 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/client_socket_factory.cc ('k') | net/socket/datagram_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698