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

Side by Side Diff: headless/public/util/testing/generic_url_request_mocks.cc

Issue 2835603002: Revert of Add --headless flag to Windows (Closed)
Patch Set: 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 | « headless/public/util/generic_url_request_job.h ('k') | headless/test/headless_browser_test.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 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 <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "net/http/http_response_headers.h"
12 11
13 namespace net { 12 namespace net {
14 class URLRequestJob; 13 class URLRequestJob;
15 } // namespace net 14 } // namespace net
16 15
17 namespace headless { 16 namespace headless {
18 17
19 // MockGenericURLRequestJobDelegate 18 // MockGenericURLRequestJobDelegate
20 MockGenericURLRequestJobDelegate::MockGenericURLRequestJobDelegate() 19 MockGenericURLRequestJobDelegate::MockGenericURLRequestJobDelegate()
21 : main_thread_task_runner_(base::ThreadTaskRunnerHandle::Get()) {} 20 : main_thread_task_runner_(base::ThreadTaskRunnerHandle::Get()) {}
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 int bytes_read) {} 176 int bytes_read) {}
178 const std::string& MockURLRequestDelegate::response_data() const { 177 const std::string& MockURLRequestDelegate::response_data() const {
179 return response_data_; 178 return response_data_;
180 } 179 }
181 180
182 const net::IOBufferWithSize* MockURLRequestDelegate::metadata() const { 181 const net::IOBufferWithSize* MockURLRequestDelegate::metadata() const {
183 return nullptr; 182 return nullptr;
184 } 183 }
185 184
186 } // namespace headless 185 } // namespace headless
OLDNEW
« no previous file with comments | « headless/public/util/generic_url_request_job.h ('k') | headless/test/headless_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698