| 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 #include "base/threading/thread_task_runner_handle.h" |
| 9 | 9 |
| 10 namespace net { | 10 namespace net { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 const std::string& name, | 58 const std::string& name, |
| 59 const std::string& value, | 59 const std::string& value, |
| 60 const std::string& domain, | 60 const std::string& domain, |
| 61 const std::string& path, | 61 const std::string& path, |
| 62 base::Time creation_time, | 62 base::Time creation_time, |
| 63 base::Time expiration_time, | 63 base::Time expiration_time, |
| 64 base::Time last_access_time, | 64 base::Time last_access_time, |
| 65 bool secure, | 65 bool secure, |
| 66 bool http_only, | 66 bool http_only, |
| 67 net::CookieSameSite same_site, | 67 net::CookieSameSite same_site, |
| 68 bool enforce_strict_secure, | |
| 69 net::CookiePriority priority, | 68 net::CookiePriority priority, |
| 70 const SetCookiesCallback& callback) { | 69 const SetCookiesCallback& callback) { |
| 71 CHECK(false); | 70 CHECK(false); |
| 72 } | 71 } |
| 73 | 72 |
| 74 void MockCookieStore::GetCookiesWithOptionsAsync( | 73 void MockCookieStore::GetCookiesWithOptionsAsync( |
| 75 const GURL& url, | 74 const GURL& url, |
| 76 const net::CookieOptions& options, | 75 const net::CookieOptions& options, |
| 77 const GetCookiesCallback& callback) { | 76 const GetCookiesCallback& callback) { |
| 78 CHECK(false); | 77 CHECK(false); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 int bytes_read) {} | 163 int bytes_read) {} |
| 165 const std::string& MockURLRequestDelegate::response_data() const { | 164 const std::string& MockURLRequestDelegate::response_data() const { |
| 166 return response_data_; | 165 return response_data_; |
| 167 } | 166 } |
| 168 | 167 |
| 169 const net::IOBufferWithSize* MockURLRequestDelegate::metadata() const { | 168 const net::IOBufferWithSize* MockURLRequestDelegate::metadata() const { |
| 170 return nullptr; | 169 return nullptr; |
| 171 } | 170 } |
| 172 | 171 |
| 173 } // namespace headless | 172 } // namespace headless |
| OLD | NEW |