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

Side by Side Diff: net/spdy/chromium/spdy_session_pool_unittest.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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/spdy/chromium/spdy_session_pool.cc ('k') | net/spdy/chromium/spdy_session_test_util.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/spdy/spdy_session_pool.h" 5 #include "net/spdy/chromium/spdy_session_pool.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "base/test/histogram_tester.h" 14 #include "base/test/histogram_tester.h"
15 #include "base/trace_event/memory_allocator_dump.h" 15 #include "base/trace_event/memory_allocator_dump.h"
16 #include "base/trace_event/process_memory_dump.h" 16 #include "base/trace_event/process_memory_dump.h"
17 #include "base/trace_event/trace_event_argument.h" 17 #include "base/trace_event/trace_event_argument.h"
18 #include "net/dns/host_cache.h" 18 #include "net/dns/host_cache.h"
19 #include "net/http/http_network_session.h" 19 #include "net/http/http_network_session.h"
20 #include "net/log/net_log_with_source.h" 20 #include "net/log/net_log_with_source.h"
21 #include "net/log/test_net_log.h" 21 #include "net/log/test_net_log.h"
22 #include "net/log/test_net_log_entry.h" 22 #include "net/log/test_net_log_entry.h"
23 #include "net/socket/client_socket_handle.h" 23 #include "net/socket/client_socket_handle.h"
24 #include "net/socket/transport_client_socket_pool.h" 24 #include "net/socket/transport_client_socket_pool.h"
25 #include "net/spdy/spdy_session.h" 25 #include "net/spdy/chromium/spdy_session.h"
26 #include "net/spdy/spdy_stream_test_util.h" 26 #include "net/spdy/chromium/spdy_stream_test_util.h"
27 #include "net/spdy/spdy_test_util_common.h" 27 #include "net/spdy/chromium/spdy_test_util_common.h"
28 #include "net/test/cert_test_util.h" 28 #include "net/test/cert_test_util.h"
29 #include "net/test/gtest_util.h" 29 #include "net/test/gtest_util.h"
30 #include "net/test/test_data_directory.h" 30 #include "net/test/test_data_directory.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 net::test::IsError; 34 using net::test::IsError;
35 using net::test::IsOk; 35 using net::test::IsOk;
36 36
37 namespace net { 37 namespace net {
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 active_session_count_attr->GetString("value", &active_session_count)); 900 active_session_count_attr->GetString("value", &active_session_count));
901 // No created stream so the session should be idle. 901 // No created stream so the session should be idle.
902 ASSERT_EQ("0", active_session_count); 902 ASSERT_EQ("0", active_session_count);
903 did_dump = true; 903 did_dump = true;
904 } 904 }
905 EXPECT_TRUE(did_dump); 905 EXPECT_TRUE(did_dump);
906 spdy_session_pool_->CloseCurrentSessions(ERR_ABORTED); 906 spdy_session_pool_->CloseCurrentSessions(ERR_ABORTED);
907 } 907 }
908 908
909 } // namespace net 909 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/chromium/spdy_session_pool.cc ('k') | net/spdy/chromium/spdy_session_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698