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

Side by Side Diff: net/spdy/chromium/spdy_session.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.h ('k') | net/spdy/chromium/spdy_session_fuzzer.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.h" 5 #include "net/spdy/chromium/spdy_session.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/feature_list.h" 14 #include "base/feature_list.h"
15 #include "base/location.h" 15 #include "base/location.h"
(...skipping 22 matching lines...) Expand all
38 #include "net/http/http_util.h" 38 #include "net/http/http_util.h"
39 #include "net/http/transport_security_state.h" 39 #include "net/http/transport_security_state.h"
40 #include "net/log/net_log.h" 40 #include "net/log/net_log.h"
41 #include "net/log/net_log_capture_mode.h" 41 #include "net/log/net_log_capture_mode.h"
42 #include "net/log/net_log_event_type.h" 42 #include "net/log/net_log_event_type.h"
43 #include "net/log/net_log_source_type.h" 43 #include "net/log/net_log_source_type.h"
44 #include "net/log/net_log_with_source.h" 44 #include "net/log/net_log_with_source.h"
45 #include "net/proxy/proxy_server.h" 45 #include "net/proxy/proxy_server.h"
46 #include "net/socket/socket.h" 46 #include "net/socket/socket.h"
47 #include "net/socket/ssl_client_socket.h" 47 #include "net/socket/ssl_client_socket.h"
48 #include "net/spdy/chromium/spdy_buffer_producer.h"
49 #include "net/spdy/chromium/spdy_http_utils.h"
50 #include "net/spdy/chromium/spdy_log_util.h"
51 #include "net/spdy/chromium/spdy_session_pool.h"
52 #include "net/spdy/chromium/spdy_stream.h"
53 #include "net/spdy/core/spdy_frame_builder.h"
54 #include "net/spdy/core/spdy_protocol.h"
48 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h" 55 #include "net/spdy/platform/api/spdy_estimate_memory_usage.h"
49 #include "net/spdy/platform/api/spdy_string_utils.h" 56 #include "net/spdy/platform/api/spdy_string_utils.h"
50 #include "net/spdy/spdy_buffer_producer.h"
51 #include "net/spdy/spdy_frame_builder.h"
52 #include "net/spdy/spdy_http_utils.h"
53 #include "net/spdy/spdy_log_util.h"
54 #include "net/spdy/spdy_protocol.h"
55 #include "net/spdy/spdy_session_pool.h"
56 #include "net/spdy/spdy_stream.h"
57 #include "net/ssl/channel_id_service.h" 57 #include "net/ssl/channel_id_service.h"
58 #include "net/ssl/ssl_cipher_suite_names.h" 58 #include "net/ssl/ssl_cipher_suite_names.h"
59 #include "net/ssl/ssl_connection_status_flags.h" 59 #include "net/ssl/ssl_connection_status_flags.h"
60 60
61 namespace net { 61 namespace net {
62 62
63 namespace { 63 namespace {
64 64
65 const int kReadBufferSize = 8 * 1024; 65 const int kReadBufferSize = 8 * 1024;
66 const int kDefaultConnectionAtRiskOfLossSeconds = 10; 66 const int kDefaultConnectionAtRiskOfLossSeconds = 10;
(...skipping 3126 matching lines...) Expand 10 before | Expand all | Expand 10 after
3193 if (!queue->empty()) { 3193 if (!queue->empty()) {
3194 SpdyStreamId stream_id = queue->front(); 3194 SpdyStreamId stream_id = queue->front();
3195 queue->pop_front(); 3195 queue->pop_front();
3196 return stream_id; 3196 return stream_id;
3197 } 3197 }
3198 } 3198 }
3199 return 0; 3199 return 0;
3200 } 3200 }
3201 3201
3202 } // namespace net 3202 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/chromium/spdy_session.h ('k') | net/spdy/chromium/spdy_session_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698