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

Side by Side Diff: net/http/http_pipelined_network_transaction_unittest.cc

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/http/http_pipelined_host_test_util.cc ('k') | net/http/http_proxy_client_socket_pool.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 #include <string> 5 #include <string>
6 6
7 #include "base/memory/ref_counted.h" 7 #include "base/memory/ref_counted.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/stringprintf.h" 10 #include "base/stringprintf.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "net/base/address_list.h" 12 #include "net/base/address_list.h"
13 #include "net/base/host_cache.h" 13 #include "net/base/host_cache.h"
14 #include "net/base/io_buffer.h" 14 #include "net/base/io_buffer.h"
15 #include "net/base/mock_host_resolver.h" 15 #include "net/base/mock_host_resolver.h"
16 #include "net/base/net_errors.h" 16 #include "net/base/net_errors.h"
17 #include "net/base/net_util.h" 17 #include "net/base/net_util.h"
18 #include "net/base/request_priority.h" 18 #include "net/base/request_priority.h"
19 #include "net/base/ssl_config_service_defaults.h"
20 #include "net/http/http_auth_handler_mock.h" 19 #include "net/http/http_auth_handler_mock.h"
21 #include "net/http/http_network_session.h" 20 #include "net/http/http_network_session.h"
22 #include "net/http/http_network_transaction.h" 21 #include "net/http/http_network_transaction.h"
23 #include "net/http/http_request_info.h" 22 #include "net/http/http_request_info.h"
24 #include "net/http/http_server_properties_impl.h" 23 #include "net/http/http_server_properties_impl.h"
25 #include "net/proxy/proxy_config_service.h" 24 #include "net/proxy/proxy_config_service.h"
26 #include "net/proxy/proxy_service.h" 25 #include "net/proxy/proxy_service.h"
27 #include "net/socket/client_socket_handle.h" 26 #include "net/socket/client_socket_handle.h"
28 #include "net/socket/client_socket_pool_histograms.h" 27 #include "net/socket/client_socket_pool_histograms.h"
29 #include "net/socket/client_socket_pool_manager.h" 28 #include "net/socket/client_socket_pool_manager.h"
30 #include "net/socket/socket_test_util.h" 29 #include "net/socket/socket_test_util.h"
30 #include "net/ssl/ssl_config_service_defaults.h"
31 #include "testing/gmock/include/gmock/gmock.h" 31 #include "testing/gmock/include/gmock/gmock.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 33
34 using testing::StrEq; 34 using testing::StrEq;
35 35
36 namespace net { 36 namespace net {
37 37
38 namespace { 38 namespace {
39 39
40 class SimpleProxyConfigService : public ProxyConfigService { 40 class SimpleProxyConfigService : public ProxyConfigService {
(...skipping 981 matching lines...) Expand 10 before | Expand all | Expand 10 after
1022 EXPECT_EQ(ERR_PIPELINE_EVICTION, two_callback.WaitForResult()); 1022 EXPECT_EQ(ERR_PIPELINE_EVICTION, two_callback.WaitForResult());
1023 two_transaction.reset(); 1023 two_transaction.reset();
1024 EXPECT_EQ(ERR_PIPELINE_EVICTION, three_callback.WaitForResult()); 1024 EXPECT_EQ(ERR_PIPELINE_EVICTION, three_callback.WaitForResult());
1025 three_transaction.reset(); 1025 three_transaction.reset();
1026 EXPECT_EQ(ERR_PIPELINE_EVICTION, four_callback.WaitForResult()); 1026 EXPECT_EQ(ERR_PIPELINE_EVICTION, four_callback.WaitForResult());
1027 } 1027 }
1028 1028
1029 } // anonymous namespace 1029 } // anonymous namespace
1030 1030
1031 } // namespace net 1031 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_pipelined_host_test_util.cc ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698