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

Side by Side Diff: net/quic/quic_network_transaction_unittest.cc

Issue 2090463002: Move net/base/test_data_directory.[cc,h] to net/test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_stream_factory_test.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 <memory> 5 #include <memory>
6 #include <ostream> 6 #include <ostream>
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "net/base/chunked_upload_data_stream.h" 16 #include "net/base/chunked_upload_data_stream.h"
17 #include "net/base/test_completion_callback.h" 17 #include "net/base/test_completion_callback.h"
18 #include "net/base/test_data_directory.h"
19 #include "net/cert/ct_policy_enforcer.h" 18 #include "net/cert/ct_policy_enforcer.h"
20 #include "net/cert/mock_cert_verifier.h" 19 #include "net/cert/mock_cert_verifier.h"
21 #include "net/cert/multi_log_ct_verifier.h" 20 #include "net/cert/multi_log_ct_verifier.h"
22 #include "net/dns/mock_host_resolver.h" 21 #include "net/dns/mock_host_resolver.h"
23 #include "net/http/http_auth_handler_factory.h" 22 #include "net/http/http_auth_handler_factory.h"
24 #include "net/http/http_network_session.h" 23 #include "net/http/http_network_session.h"
25 #include "net/http/http_network_transaction.h" 24 #include "net/http/http_network_transaction.h"
26 #include "net/http/http_server_properties_impl.h" 25 #include "net/http/http_server_properties_impl.h"
27 #include "net/http/http_stream.h" 26 #include "net/http/http_stream.h"
28 #include "net/http/http_stream_factory.h" 27 #include "net/http/http_stream_factory.h"
(...skipping 19 matching lines...) Expand all
48 #include "net/socket/client_socket_factory.h" 47 #include "net/socket/client_socket_factory.h"
49 #include "net/socket/mock_client_socket_pool_manager.h" 48 #include "net/socket/mock_client_socket_pool_manager.h"
50 #include "net/socket/socket_performance_watcher.h" 49 #include "net/socket/socket_performance_watcher.h"
51 #include "net/socket/socket_performance_watcher_factory.h" 50 #include "net/socket/socket_performance_watcher_factory.h"
52 #include "net/socket/socket_test_util.h" 51 #include "net/socket/socket_test_util.h"
53 #include "net/socket/ssl_client_socket.h" 52 #include "net/socket/ssl_client_socket.h"
54 #include "net/spdy/spdy_frame_builder.h" 53 #include "net/spdy/spdy_frame_builder.h"
55 #include "net/spdy/spdy_framer.h" 54 #include "net/spdy/spdy_framer.h"
56 #include "net/ssl/ssl_config_service_defaults.h" 55 #include "net/ssl/ssl_config_service_defaults.h"
57 #include "net/test/cert_test_util.h" 56 #include "net/test/cert_test_util.h"
57 #include "net/test/test_data_directory.h"
58 #include "testing/gtest/include/gtest/gtest.h" 58 #include "testing/gtest/include/gtest/gtest.h"
59 #include "testing/platform_test.h" 59 #include "testing/platform_test.h"
60 #include "url/gurl.h" 60 #include "url/gurl.h"
61 61
62 namespace net { 62 namespace net {
63 namespace test { 63 namespace test {
64 64
65 namespace { 65 namespace {
66 66
67 enum DestinationType { 67 enum DestinationType {
(...skipping 2500 matching lines...) Expand 10 before | Expand all | Expand 10 after
2568 AddHangingSocketData(); 2568 AddHangingSocketData();
2569 2569
2570 SendRequestAndExpectQuicResponse(origin1_); 2570 SendRequestAndExpectQuicResponse(origin1_);
2571 SendRequestAndExpectQuicResponse(origin2_); 2571 SendRequestAndExpectQuicResponse(origin2_);
2572 2572
2573 EXPECT_TRUE(AllDataConsumed()); 2573 EXPECT_TRUE(AllDataConsumed());
2574 } 2574 }
2575 2575
2576 } // namespace test 2576 } // namespace test
2577 } // namespace net 2577 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_http_stream_test.cc ('k') | net/quic/quic_stream_factory_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698