OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 5 #ifndef IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
6 #define IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 6 #define IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 const std::string& domain, | 82 const std::string& domain, |
83 const std::string& path, | 83 const std::string& path, |
84 base::Time creation_time, | 84 base::Time creation_time, |
85 base::Time expiration_time, | 85 base::Time expiration_time, |
86 base::Time last_access_time, | 86 base::Time last_access_time, |
87 bool secure, | 87 bool secure, |
88 bool http_only, | 88 bool http_only, |
89 CookieSameSite same_site, | 89 CookieSameSite same_site, |
90 CookiePriority priority, | 90 CookiePriority priority, |
91 const SetCookiesCallback& callback) override; | 91 const SetCookiesCallback& callback) override; |
| 92 void SetCanonicalCookieAsync(const CanonicalCookie& cookie, |
| 93 bool secure_source, |
| 94 bool modify_http_only, |
| 95 const SetCookiesCallback& callback) override; |
92 void GetCookiesWithOptionsAsync(const GURL& url, | 96 void GetCookiesWithOptionsAsync(const GURL& url, |
93 const net::CookieOptions& options, | 97 const net::CookieOptions& options, |
94 const GetCookiesCallback& callback) override; | 98 const GetCookiesCallback& callback) override; |
95 void GetCookieListWithOptionsAsync( | 99 void GetCookieListWithOptionsAsync( |
96 const GURL& url, | 100 const GURL& url, |
97 const net::CookieOptions& options, | 101 const net::CookieOptions& options, |
98 const GetCookieListCallback& callback) override; | 102 const GetCookieListCallback& callback) override; |
99 void GetAllCookiesAsync(const GetCookieListCallback& callback) override; | 103 void GetAllCookiesAsync(const GetCookieListCallback& callback) override; |
100 void DeleteCookieAsync(const GURL& url, | 104 void DeleteCookieAsync(const GURL& url, |
101 const std::string& cookie_name, | 105 const std::string& cookie_name, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 hook_map_; | 273 hook_map_; |
270 | 274 |
271 base::WeakPtrFactory<CookieStoreIOS> weak_factory_; | 275 base::WeakPtrFactory<CookieStoreIOS> weak_factory_; |
272 | 276 |
273 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); | 277 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); |
274 }; | 278 }; |
275 | 279 |
276 } // namespace net | 280 } // namespace net |
277 | 281 |
278 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 282 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
OLD | NEW |