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

Side by Side Diff: net/spdy/bidirectional_stream_spdy_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
« no previous file with comments | « net/quic/chromium/quic_http_stream.cc ('k') | net/spdy/spdy_http_stream_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/bidirectional_stream_spdy_impl.h" 5 #include "net/spdy/bidirectional_stream_spdy_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/time/time.h" 13 #include "base/time/time.h"
13 #include "base/timer/timer.h" 14 #include "base/timer/timer.h"
14 #include "net/http/bidirectional_stream_request_info.h" 15 #include "net/http/bidirectional_stream_request_info.h"
15 #include "net/spdy/spdy_buffer.h" 16 #include "net/spdy/spdy_buffer.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 #include "net/spdy/spdy_stream.h" 19 #include "net/spdy/spdy_stream.h"
19 20
20 namespace net { 21 namespace net {
21 22
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 return true; 409 return true;
409 } 410 }
410 LOG(ERROR) << "Trying to send data after stream has been destroyed."; 411 LOG(ERROR) << "Trying to send data after stream has been destroyed.";
411 base::ThreadTaskRunnerHandle::Get()->PostTask( 412 base::ThreadTaskRunnerHandle::Get()->PostTask(
412 FROM_HERE, base::Bind(&BidirectionalStreamSpdyImpl::NotifyError, 413 FROM_HERE, base::Bind(&BidirectionalStreamSpdyImpl::NotifyError,
413 weak_factory_.GetWeakPtr(), ERR_UNEXPECTED)); 414 weak_factory_.GetWeakPtr(), ERR_UNEXPECTED));
414 return true; 415 return true;
415 } 416 }
416 417
417 } // namespace net 418 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_http_stream.cc ('k') | net/spdy/spdy_http_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698