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 24 matching lines...) Expand all Loading... |
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 CookieSameSite same_site, | 44 CookieSameSite same_site, |
45 bool enforce_strict_secure, | |
46 CookiePriority priority, | 45 CookiePriority priority, |
47 const SetCookiesCallback& callback) override; | 46 const SetCookiesCallback& callback) override; |
48 | 47 |
49 void GetCookiesWithOptionsAsync( | 48 void GetCookiesWithOptionsAsync( |
50 const GURL& url, | 49 const GURL& url, |
51 const CookieOptions& options, | 50 const CookieOptions& options, |
52 const CookieMonster::GetCookiesCallback& callback) override; | 51 const CookieMonster::GetCookiesCallback& callback) override; |
53 | 52 |
54 void GetCookieListWithOptionsAsync( | 53 void GetCookieListWithOptionsAsync( |
55 const GURL& url, | 54 const GURL& url, |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 | 141 |
143 private: | 142 private: |
144 const GURL url_; | 143 const GURL url_; |
145 const std::string registry_; | 144 const std::string registry_; |
146 const std::string domain_and_registry_; | 145 const std::string domain_and_registry_; |
147 }; | 146 }; |
148 | 147 |
149 } // namespace net | 148 } // namespace net |
150 | 149 |
151 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ | 150 #endif // NET_COOKIES_COOKIE_STORE_TEST_HELPERS_H_ |
OLD | NEW |