| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |