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

Side by Side Diff: headless/public/util/testing/generic_url_request_mocks.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 "headless/public/util/testing/generic_url_request_mocks.h" 5 #include "headless/public/util/testing/generic_url_request_mocks.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/threading/thread_task_runner_handle.h"
8 9
9 namespace net { 10 namespace net {
10 class URLRequestJob; 11 class URLRequestJob;
11 } // namespace net 12 } // namespace net
12 13
13 namespace headless { 14 namespace headless {
14 15
15 // MockGenericURLRequestJobDelegate 16 // MockGenericURLRequestJobDelegate
16 MockGenericURLRequestJobDelegate::MockGenericURLRequestJobDelegate() 17 MockGenericURLRequestJobDelegate::MockGenericURLRequestJobDelegate()
17 : should_block_(false) {} 18 : should_block_(false) {}
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 int bytes_read) {} 164 int bytes_read) {}
164 const std::string& MockURLRequestDelegate::response_data() const { 165 const std::string& MockURLRequestDelegate::response_data() const {
165 return response_data_; 166 return response_data_;
166 } 167 }
167 168
168 const net::IOBufferWithSize* MockURLRequestDelegate::metadata() const { 169 const net::IOBufferWithSize* MockURLRequestDelegate::metadata() const {
169 return nullptr; 170 return nullptr;
170 } 171 }
171 172
172 } // namespace headless 173 } // namespace headless
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698