| 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 #ifndef HEADLESS_PUBLIC_UTIL_TESTING_GENERIC_URL_REQUEST_MOCKS_H_ | 5 #ifndef HEADLESS_PUBLIC_UTIL_TESTING_GENERIC_URL_REQUEST_MOCKS_H_ |
| 6 #define HEADLESS_PUBLIC_UTIL_TESTING_GENERIC_URL_REQUEST_MOCKS_H_ | 6 #define HEADLESS_PUBLIC_UTIL_TESTING_GENERIC_URL_REQUEST_MOCKS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 const std::string& name, | 62 const std::string& name, |
| 63 const std::string& value, | 63 const std::string& value, |
| 64 const std::string& domain, | 64 const std::string& domain, |
| 65 const std::string& path, | 65 const std::string& path, |
| 66 base::Time creation_time, | 66 base::Time creation_time, |
| 67 base::Time expiration_time, | 67 base::Time expiration_time, |
| 68 base::Time last_access_time, | 68 base::Time last_access_time, |
| 69 bool secure, | 69 bool secure, |
| 70 bool http_only, | 70 bool http_only, |
| 71 net::CookieSameSite same_site, | 71 net::CookieSameSite same_site, |
| 72 bool enforce_strict_secure, | |
| 73 net::CookiePriority priority, | 72 net::CookiePriority priority, |
| 74 const SetCookiesCallback& callback) override; | 73 const SetCookiesCallback& callback) override; |
| 75 | 74 |
| 76 void GetCookiesWithOptionsAsync(const GURL& url, | 75 void GetCookiesWithOptionsAsync(const GURL& url, |
| 77 const net::CookieOptions& options, | 76 const net::CookieOptions& options, |
| 78 const GetCookiesCallback& callback) override; | 77 const GetCookiesCallback& callback) override; |
| 79 | 78 |
| 80 void GetCookieListWithOptionsAsync( | 79 void GetCookieListWithOptionsAsync( |
| 81 const GURL& url, | 80 const GURL& url, |
| 82 const net::CookieOptions& options, | 81 const net::CookieOptions& options, |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 | 137 |
| 139 private: | 138 private: |
| 140 std::string response_data_; | 139 std::string response_data_; |
| 141 | 140 |
| 142 DISALLOW_COPY_AND_ASSIGN(MockURLRequestDelegate); | 141 DISALLOW_COPY_AND_ASSIGN(MockURLRequestDelegate); |
| 143 }; | 142 }; |
| 144 | 143 |
| 145 } // namespace headless | 144 } // namespace headless |
| 146 | 145 |
| 147 #endif // HEADLESS_PUBLIC_UTIL_TESTING_GENERIC_URL_REQUEST_MOCKS_H_ | 146 #endif // HEADLESS_PUBLIC_UTIL_TESTING_GENERIC_URL_REQUEST_MOCKS_H_ |
| OLD | NEW |