Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Side by Side Diff: ios/net/cookies/cookie_store_ios.h

Issue 1844243002: [CookieStore] Upgrading host-based deleting to predicate-based deleting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 void GetAllCookiesAsync(const GetCookieListCallback& callback) override; 142 void GetAllCookiesAsync(const GetCookieListCallback& callback) override;
143 void DeleteCookieAsync(const GURL& url, 143 void DeleteCookieAsync(const GURL& url,
144 const std::string& cookie_name, 144 const std::string& cookie_name,
145 const base::Closure& callback) override; 145 const base::Closure& callback) override;
146 void DeleteCanonicalCookieAsync( 146 void DeleteCanonicalCookieAsync(
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 DeleteAllCreatedBetweenWithPredicateAsync(
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 CookiePredicate& predicate,
156 const DeleteCallback& callback) override; 156 const DeleteCallback& callback) override;
157 void DeleteSessionCookiesAsync(const DeleteCallback& callback) override; 157 void DeleteSessionCookiesAsync(const DeleteCallback& callback) override;
158 void FlushStore(const base::Closure& callback) override; 158 void FlushStore(const base::Closure& callback) override;
159 159
160 scoped_ptr<CookieChangedSubscription> AddCallbackForCookie( 160 scoped_ptr<CookieChangedSubscription> AddCallbackForCookie(
161 const GURL& url, 161 const GURL& url,
162 const std::string& name, 162 const std::string& name,
163 const CookieChangedCallback& callback) override; 163 const CookieChangedCallback& callback) override;
164 164
165 bool IsEphemeral() override; 165 bool IsEphemeral() override;
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 CookieChangedHookMap hook_map_; 329 CookieChangedHookMap hook_map_;
330 330
331 base::WeakPtrFactory<CookieStoreIOS> weak_factory_; 331 base::WeakPtrFactory<CookieStoreIOS> weak_factory_;
332 332
333 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS); 333 DISALLOW_COPY_AND_ASSIGN(CookieStoreIOS);
334 }; 334 };
335 335
336 } // namespace net 336 } // namespace net
337 337
338 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_ 338 #endif // IOS_NET_COOKIES_COOKIE_STORE_IOS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/browsing_data/ios_chrome_browsing_data_remover.mm ('k') | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698