| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 5 #ifndef NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
| 6 #define NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 6 #define NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
| 7 | 7 |
| 8 #include "net/cookies/cookie_monster.h" | 8 #include "net/cookies/cookie_monster.h" |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 void SetCookieWithDetailsAsync(const GURL& url, | 34 void SetCookieWithDetailsAsync(const GURL& url, |
| 35 const std::string& name, | 35 const std::string& name, |
| 36 const std::string& value, | 36 const std::string& value, |
| 37 const std::string& domain, | 37 const std::string& domain, |
| 38 const std::string& path, | 38 const std::string& path, |
| 39 base::Time creation_time, | 39 base::Time creation_time, |
| 40 base::Time expiration_time, | 40 base::Time expiration_time, |
| 41 base::Time last_access_time, | 41 base::Time last_access_time, |
| 42 bool secure, | 42 bool secure, |
| 43 bool http_only, | 43 bool http_only, |
| 44 bool same_site, | 44 CookieSameSite same_site, |
| 45 bool enforce_strict_secure, | 45 bool enforce_strict_secure, |
| 46 CookiePriority priority, | 46 CookiePriority priority, |
| 47 const SetCookiesCallback& callback) override; | 47 const SetCookiesCallback& callback) override; |
| 48 | 48 |
| 49 void GetCookiesWithOptionsAsync( | 49 void GetCookiesWithOptionsAsync( |
| 50 const GURL& url, | 50 const GURL& url, |
| 51 const CookieOptions& options, | 51 const CookieOptions& options, |
| 52 const CookieMonster::GetCookiesCallback& callback) override; | 52 const CookieMonster::GetCookiesCallback& callback) override; |
| 53 | 53 |
| 54 void GetCookieListWithOptionsAsync( | 54 void GetCookieListWithOptionsAsync( |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 | 141 |
| 142 private: | 142 private: |
| 143 const GURL url_; | 143 const GURL url_; |
| 144 const std::string registry_; | 144 const std::string registry_; |
| 145 const std::string domain_and_registry_; | 145 const std::string domain_and_registry_; |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace net | 148 } // namespace net |
| 149 | 149 |
| 150 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 150 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
| OLD | NEW |