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

Side by Side Diff: net/spdy/chromium/spdy_session_pool.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.h ('k') | net/spdy/chromium/spdy_session_pool_unittest.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 "net/spdy/spdy_session_pool.h" 5 #include "net/spdy/chromium/spdy_session_pool.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/metrics/histogram_macros.h" 11 #include "base/metrics/histogram_macros.h"
12 #include "base/profiler/scoped_tracker.h" 12 #include "base/profiler/scoped_tracker.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "base/trace_event/memory_allocator_dump.h" 14 #include "base/trace_event/memory_allocator_dump.h"
15 #include "base/trace_event/process_memory_dump.h" 15 #include "base/trace_event/process_memory_dump.h"
16 #include "base/trace_event/trace_event.h" 16 #include "base/trace_event/trace_event.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "net/base/address_list.h" 18 #include "net/base/address_list.h"
19 #include "net/base/trace_constants.h" 19 #include "net/base/trace_constants.h"
20 #include "net/http/http_network_session.h" 20 #include "net/http/http_network_session.h"
21 #include "net/http/http_server_properties.h" 21 #include "net/http/http_server_properties.h"
22 #include "net/log/net_log_event_type.h" 22 #include "net/log/net_log_event_type.h"
23 #include "net/log/net_log_source.h" 23 #include "net/log/net_log_source.h"
24 #include "net/log/net_log_with_source.h" 24 #include "net/log/net_log_with_source.h"
25 #include "net/spdy/hpack/hpack_constants.h" 25 #include "net/spdy/chromium/spdy_session.h"
26 #include "net/spdy/hpack/hpack_huffman_table.h" 26 #include "net/spdy/core/hpack/hpack_constants.h"
27 #include "net/spdy/hpack/hpack_static_table.h" 27 #include "net/spdy/core/hpack/hpack_huffman_table.h"
28 #include "net/spdy/core/hpack/hpack_static_table.h"
28 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" 29 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h"
29 #include "net/spdy/platform/api/spdy_string_utils.h" 30 #include "net/spdy/platform/api/spdy_string_utils.h"
30 #include "net/spdy/spdy_session.h"
31 31
32 namespace net { 32 namespace net {
33 33
34 namespace { 34 namespace {
35 35
36 enum SpdySessionGetTypes { 36 enum SpdySessionGetTypes {
37 CREATED_NEW = 0, 37 CREATED_NEW = 0,
38 FOUND_EXISTING = 1, 38 FOUND_EXISTING = 1,
39 FOUND_EXISTING_FROM_IP_POOL = 2, 39 FOUND_EXISTING_FROM_IP_POOL = 2,
40 IMPORTED_FROM_SOCKET = 3, 40 IMPORTED_FROM_SOCKET = 3,
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 505
506 if (idle_only && (*it)->is_active()) 506 if (idle_only && (*it)->is_active())
507 continue; 507 continue;
508 508
509 (*it)->CloseSessionOnError(error, description); 509 (*it)->CloseSessionOnError(error, description);
510 DCHECK(!IsSessionAvailable(*it)); 510 DCHECK(!IsSessionAvailable(*it));
511 } 511 }
512 } 512 }
513 513
514 } // namespace net 514 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/chromium/spdy_session_pool.h ('k') | net/spdy/chromium/spdy_session_pool_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698