OLD | NEW |
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/quic/chromium/quic_chromium_client_stream.h" | 5 #include "net/quic/chromium/quic_chromium_client_stream.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
11 #include "base/location.h" | 11 #include "base/location.h" |
12 #include "base/threading/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
15 #include "net/quic/chromium/quic_chromium_client_session.h" | 15 #include "net/quic/chromium/quic_chromium_client_session.h" |
16 #include "net/quic/quic_http_utils.h" | 16 #include "net/quic/core/quic_http_utils.h" |
17 #include "net/quic/quic_spdy_session.h" | 17 #include "net/quic/core/quic_spdy_session.h" |
18 #include "net/quic/quic_write_blocked_list.h" | 18 #include "net/quic/core/quic_write_blocked_list.h" |
19 #include "net/quic/spdy_utils.h" | 19 #include "net/quic/core/spdy_utils.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 QuicChromiumClientStream::QuicChromiumClientStream( | 23 QuicChromiumClientStream::QuicChromiumClientStream( |
24 QuicStreamId id, | 24 QuicStreamId id, |
25 QuicClientSessionBase* session, | 25 QuicClientSessionBase* session, |
26 const BoundNetLog& net_log) | 26 const BoundNetLog& net_log) |
27 : QuicSpdyStream(id, session), | 27 : QuicSpdyStream(id, session), |
28 net_log_(net_log), | 28 net_log_(net_log), |
29 delegate_(nullptr), | 29 delegate_(nullptr), |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 } else { | 311 } else { |
312 delegate_tasks_.push_back(closure); | 312 delegate_tasks_.push_back(closure); |
313 } | 313 } |
314 } | 314 } |
315 | 315 |
316 void QuicChromiumClientStream::DisableConnectionMigration() { | 316 void QuicChromiumClientStream::DisableConnectionMigration() { |
317 can_migrate_ = false; | 317 can_migrate_ = false; |
318 } | 318 } |
319 | 319 |
320 } // namespace net | 320 } // namespace net |
OLD | NEW |