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

Unified Diff: net/cookies/cookie_monster.h

Issue 2971733002: Change CookieStore::DeleteCallback to take uint32_t. (Closed)
Patch Set: Got rid of rest of <cstdint> stuff. Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/net/cookies/cookie_store_ios.mm ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cookies/cookie_monster.h
diff --git a/net/cookies/cookie_monster.h b/net/cookies/cookie_monster.h
index 6d8a533bfc11a4ec1f36b4003c1d43507ab34600..17c5abbf528fe62e4835298c92a9d548df9cc616 100644
--- a/net/cookies/cookie_monster.h
+++ b/net/cookies/cookie_monster.h
@@ -444,11 +444,11 @@ class NET_EXPORT CookieMonster : public CookieStore {
CookieList GetCookieListWithOptions(const GURL& url,
const CookieOptions& options);
- int DeleteAllCreatedBetween(const base::Time& delete_begin,
- const base::Time& delete_end);
+ uint32_t DeleteAllCreatedBetween(const base::Time& delete_begin,
+ const base::Time& delete_end);
// Predicate will be called with the calling thread.
- int DeleteAllCreatedBetweenWithPredicate(
+ uint32_t DeleteAllCreatedBetweenWithPredicate(
const base::Time& delete_begin,
const base::Time& delete_end,
const base::Callback<bool(const CanonicalCookie&)>& predicate);
@@ -462,13 +462,13 @@ class NET_EXPORT CookieMonster : public CookieStore {
void DeleteCookie(const GURL& url, const std::string& cookie_name);
- int DeleteCanonicalCookie(const CanonicalCookie& cookie);
+ uint32_t DeleteCanonicalCookie(const CanonicalCookie& cookie);
bool SetCookieWithCreationTime(const GURL& url,
const std::string& cookie_line,
const base::Time& creation_time);
- int DeleteSessionCookies();
+ uint32_t DeleteSessionCookies();
// The first access to the cookie store initializes it. This method should be
// called before any access to the cookie store.
« no previous file with comments | « ios/net/cookies/cookie_store_ios.mm ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698