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

Side by Side Diff: net/quic/chromium/bidirectional_stream_quic_impl.cc

Issue 2596283002: Include-what-you-use for ThreadTaskRunnerHandle. (Closed)
Patch Set: rebase Created 3 years, 12 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/bidirectional_stream_quic_impl.h" 5 #include "net/quic/chromium/bidirectional_stream_quic_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/location.h" 10 #include "base/location.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/threading/thread_task_runner_handle.h"
12 #include "base/timer/timer.h" 13 #include "base/timer/timer.h"
13 #include "net/http/bidirectional_stream_request_info.h" 14 #include "net/http/bidirectional_stream_request_info.h"
14 #include "net/quic/core/quic_connection.h" 15 #include "net/quic/core/quic_connection.h"
15 #include "net/socket/next_proto.h" 16 #include "net/socket/next_proto.h"
16 #include "net/spdy/spdy_header_block.h" 17 #include "net/spdy/spdy_header_block.h"
17 #include "net/spdy/spdy_http_utils.h" 18 #include "net/spdy/spdy_http_utils.h"
18 19
19 namespace net { 20 namespace net {
20 21
21 BidirectionalStreamQuicImpl::BidirectionalStreamQuicImpl( 22 BidirectionalStreamQuicImpl::BidirectionalStreamQuicImpl(
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 if (!stream_) 354 if (!stream_)
354 return; 355 return;
355 closed_stream_received_bytes_ = stream_->stream_bytes_read(); 356 closed_stream_received_bytes_ = stream_->stream_bytes_read();
356 closed_stream_sent_bytes_ = stream_->stream_bytes_written(); 357 closed_stream_sent_bytes_ = stream_->stream_bytes_written();
357 closed_is_first_stream_ = stream_->IsFirstStream(); 358 closed_is_first_stream_ = stream_->IsFirstStream();
358 stream_->SetDelegate(nullptr); 359 stream_->SetDelegate(nullptr);
359 stream_ = nullptr; 360 stream_ = nullptr;
360 } 361 }
361 362
362 } // namespace net 363 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_stream_factory_impl_job_controller.cc ('k') | net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698