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

Unified Diff: net/base/cookie_monster.h

Issue 5318002: Also register read cookies in the content settings delegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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
Index: net/base/cookie_monster.h
diff --git a/net/base/cookie_monster.h b/net/base/cookie_monster.h
index cdb508ee971e0232cd8dd082d088300a809317dc..3ecea5cf224d8e406f67dda0ba35bae51f26bd66 100644
--- a/net/base/cookie_monster.h
+++ b/net/base/cookie_monster.h
@@ -168,10 +168,15 @@ class CookieMonster : public CookieStore {
CookieList GetAllCookies();
// Returns all the cookies, for use in management UI, etc. Filters results
- // using given url scheme, host / domain and path. This does not mark the
- // cookies as having been accessed.
+ // using given url scheme, host / domain and path and options. This does not
+ // mark the cookies as having been accessed.
// The returned cookies are ordered by longest path, then earliest
// creation date.
+ CookieList GetAllCookiesForURLWithOptions(const GURL& url,
+ const CookieOptions& options);
+
+ // Invokes GetAllCookiesForURLWithOptions with options set to include HTTP
+ // only cookies.
CookieList GetAllCookiesForURL(const GURL& url);
// Deletes all of the cookies.
@@ -443,7 +448,7 @@ class CookieMonster : public CookieStore {
// The resolution of our time isn't enough, so we do something
// ugly and increment when we've seen the same time twice.
- base::Time CurrentTime();
darin (slow to review) 2010/11/24 18:10:47 we generally try to avoid including X11 headers in
jochen (gone - plz use gerrit) 2010/11/24 18:45:38 the headers get included from chrome/browser/gtk/g
+ base::Time StrictlyIncreasingTime();
base::Time last_time_seen_;
// Minimum delay after updating a cookie's LastAccessDate before we will

Powered by Google App Engine
This is Rietveld 408576698