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

Side by Side Diff: trunk/src/net/cookies/cookie_monster.h

Issue 23530062: Revert 223324 "Wait for store flush in CookieMonster::Delete*Task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | trunk/src/net/cookies/cookie_monster.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Brought to you by the letter D and the number 2. 5 // Brought to you by the letter D and the number 2.
6 6
7 #ifndef NET_COOKIES_COOKIE_MONSTER_H_ 7 #ifndef NET_COOKIES_COOKIE_MONSTER_H_
8 #define NET_COOKIES_COOKIE_MONSTER_H_ 8 #define NET_COOKIES_COOKIE_MONSTER_H_
9 9
10 #include <deque> 10 #include <deque>
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 // stored for. 304 // stored for.
305 bool IsCookieableScheme(const std::string& scheme); 305 bool IsCookieableScheme(const std::string& scheme);
306 306
307 // The default list of schemes the cookie monster can handle. 307 // The default list of schemes the cookie monster can handle.
308 static const char* kDefaultCookieableSchemes[]; 308 static const char* kDefaultCookieableSchemes[];
309 static const int kDefaultCookieableSchemesCount; 309 static const int kDefaultCookieableSchemesCount;
310 310
311 private: 311 private:
312 // For queueing the cookie monster calls. 312 // For queueing the cookie monster calls.
313 class CookieMonsterTask; 313 class CookieMonsterTask;
314 template <typename Result> class DeleteTask;
315 class DeleteAllCreatedBetweenTask; 314 class DeleteAllCreatedBetweenTask;
316 class DeleteAllCreatedBetweenForHostTask; 315 class DeleteAllCreatedBetweenForHostTask;
317 class DeleteAllForHostTask; 316 class DeleteAllForHostTask;
318 class DeleteAllTask; 317 class DeleteAllTask;
319 class DeleteCookieTask; 318 class DeleteCookieTask;
320 class DeleteCanonicalCookieTask; 319 class DeleteCanonicalCookieTask;
321 class GetAllCookiesForURLWithOptionsTask; 320 class GetAllCookiesForURLWithOptionsTask;
322 class GetAllCookiesTask; 321 class GetAllCookiesTask;
323 class GetCookiesWithOptionsTask; 322 class GetCookiesWithOptionsTask;
324 class SetCookieWithDetailsTask; 323 class SetCookieWithDetailsTask;
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 virtual ~PersistentCookieStore() {} 755 virtual ~PersistentCookieStore() {}
757 756
758 private: 757 private:
759 friend class base::RefCountedThreadSafe<PersistentCookieStore>; 758 friend class base::RefCountedThreadSafe<PersistentCookieStore>;
760 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); 759 DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore);
761 }; 760 };
762 761
763 } // namespace net 762 } // namespace net
764 763
765 #endif // NET_COOKIES_COOKIE_MONSTER_H_ 764 #endif // NET_COOKIES_COOKIE_MONSTER_H_
OLDNEW
« no previous file with comments | « no previous file | trunk/src/net/cookies/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698