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 <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 const CanonicalCookie& cookie, | 147 const CanonicalCookie& cookie, |
148 const DeleteCallback& callback) override; | 148 const DeleteCallback& callback) override; |
149 void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, | 149 void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, |
150 const base::Time& delete_end, | 150 const base::Time& delete_end, |
151 const DeleteCallback& callback) override; | 151 const DeleteCallback& callback) override; |
152 void DeleteAllCreatedBetweenForHostAsync( | 152 void DeleteAllCreatedBetweenForHostAsync( |
153 const base::Time delete_begin, | 153 const base::Time delete_begin, |
154 const base::Time delete_end, | 154 const base::Time delete_end, |
155 const GURL& url, | 155 const GURL& url, |
156 const DeleteCallback& callback) override; | 156 const DeleteCallback& callback) override; |
| 157 void DeleteAllCreatedBetweenWithPredicateAsync( |
| 158 const base::Time& delete_begin, |
| 159 const base::Time& delete_end, |
| 160 const CookiePredicate& predicate, |
| 161 const DeleteCallback& callback) override; |
157 void DeleteSessionCookiesAsync(const DeleteCallback& callback) override; | 162 void DeleteSessionCookiesAsync(const DeleteCallback& callback) override; |
158 void FlushStore(const base::Closure& callback) override; | 163 void FlushStore(const base::Closure& callback) override; |
159 | 164 |
160 scoped_ptr<CookieChangedSubscription> AddCallbackForCookie( | 165 scoped_ptr<CookieChangedSubscription> AddCallbackForCookie( |
161 const GURL& url, | 166 const GURL& url, |
162 const std::string& name, | 167 const std::string& name, |
163 const CookieChangedCallback& callback) override; | 168 const CookieChangedCallback& callback) override; |
164 | 169 |
165 private: | 170 private: |
166 // For tests. | 171 // For tests. |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 CookieChangedHookMap hook_map_; | 332 CookieChangedHookMap hook_map_; |
328 | 333 |
329 base::WeakPtrFactory<CookieStoreIOS> weak_factory_; | 334 base::WeakPtrFactory<CookieStoreIOS> weak_factory_; |
330 | 335 |
331 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); | 336 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); |
332 }; | 337 }; |
333 | 338 |
334 } // namespace net | 339 } // namespace net |
335 | 340 |
336 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ | 341 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ |
OLD | NEW |