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

Side by Side Diff: net/cookies/cookie_store.h

Issue 9959011: Add CookieStore::DeleteSessionCookiesAsync method. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased again Created 8 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
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/cookies/cookie_store_test_helpers.h » ('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 number 42. 5 // Brought to you by number 42.
6 6
7 #ifndef NET_COOKIES_COOKIE_STORE_H_ 7 #ifndef NET_COOKIES_COOKIE_STORE_H_
8 #define NET_COOKIES_COOKIE_STORE_H_ 8 #define NET_COOKIES_COOKIE_STORE_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const std::string& cookie_name, 92 const std::string& cookie_name,
93 const base::Closure& callback) = 0; 93 const base::Closure& callback) = 0;
94 94
95 // Deletes all of the cookies that have a creation_date greater than or equal 95 // Deletes all of the cookies that have a creation_date greater than or equal
96 // to |delete_begin| and less than |delete_end| 96 // to |delete_begin| and less than |delete_end|
97 // Returns the number of cookies that have been deleted. 97 // Returns the number of cookies that have been deleted.
98 virtual void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin, 98 virtual void DeleteAllCreatedBetweenAsync(const base::Time& delete_begin,
99 const base::Time& delete_end, 99 const base::Time& delete_end,
100 const DeleteCallback& callback) = 0; 100 const DeleteCallback& callback) = 0;
101 101
102 virtual void DeleteSessionCookiesAsync(const DeleteCallback&) = 0;
103
102 // Returns the underlying CookieMonster. 104 // Returns the underlying CookieMonster.
103 virtual CookieMonster* GetCookieMonster() = 0; 105 virtual CookieMonster* GetCookieMonster() = 0;
104 106
105 protected: 107 protected:
106 friend class base::RefCountedThreadSafe<CookieStore>; 108 friend class base::RefCountedThreadSafe<CookieStore>;
107 CookieStore(); 109 CookieStore();
108 virtual ~CookieStore(); 110 virtual ~CookieStore();
109 }; 111 };
110 112
111 } // namespace net 113 } // namespace net
112 114
113 #endif // NET_COOKIES_COOKIE_STORE_H_ 115 #endif // NET_COOKIES_COOKIE_STORE_H_
OLDNEW
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/cookies/cookie_store_test_helpers.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698