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 27 matching lines...) Expand all Loading... |
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 CookieSameSite same_site, | 44 CookieSameSite same_site, |
45 CookiePriority priority, | 45 CookiePriority priority, |
46 const SetCookiesCallback& callback) override; | 46 const SetCookiesCallback& callback) override; |
47 | 47 |
| 48 void SetCanonicalCookieAsync(const CanonicalCookie& cookie, |
| 49 bool secure_source, |
| 50 bool modify_http_only, |
| 51 const SetCookiesCallback& callback) override; |
| 52 |
48 void GetCookiesWithOptionsAsync( | 53 void GetCookiesWithOptionsAsync( |
49 const GURL& url, | 54 const GURL& url, |
50 const CookieOptions& options, | 55 const CookieOptions& options, |
51 const CookieMonster::GetCookiesCallback& callback) override; | 56 const CookieMonster::GetCookiesCallback& callback) override; |
52 | 57 |
53 void GetCookieListWithOptionsAsync( | 58 void GetCookieListWithOptionsAsync( |
54 const GURL& url, | 59 const GURL& url, |
55 const CookieOptions& options, | 60 const CookieOptions& options, |
56 const GetCookieListCallback& callback) override; | 61 const GetCookieListCallback& callback) override; |
57 | 62 |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 | 146 |
142 private: | 147 private: |
143 const GURL url_; | 148 const GURL url_; |
144 const std::string registry_; | 149 const std::string registry_; |
145 const std::string domain_and_registry_; | 150 const std::string domain_and_registry_; |
146 }; | 151 }; |
147 | 152 |
148 } // namespace net | 153 } // namespace net |
149 | 154 |
150 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 155 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
OLD | NEW |