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

Unified Diff: net/cookies/cookie_monster.h

Issue 14113014: Adding Priority field to cookies. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed enums PRIORITY_* to COOKIE_PRIORITY_*. Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cookies/cookie_constants_unittest.cc ('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 97be7068e44858f62b70ff89eded07ac47bbbf46..8395ba94698db8fe6e77486aa31ed41672299163 100644
--- a/net/cookies/cookie_monster.h
+++ b/net/cookies/cookie_monster.h
@@ -24,6 +24,7 @@
#include "base/time.h"
#include "net/base/net_export.h"
#include "net/cookies/canonical_cookie.h"
+#include "net/cookies/cookie_constants.h"
#include "net/cookies/cookie_store.h"
class GURL;
@@ -137,7 +138,9 @@ class NET_EXPORT CookieMonster : public CookieStore {
const std::string& domain,
const std::string& path,
const base::Time& expiration_time,
- bool secure, bool http_only,
+ bool secure,
+ bool http_only,
+ CookiePriority priority,
const SetCookiesCallback& callback);
@@ -371,7 +374,9 @@ class NET_EXPORT CookieMonster : public CookieStore {
const std::string& domain,
const std::string& path,
const base::Time& expiration_time,
- bool secure, bool http_only);
+ bool secure,
+ bool http_only,
+ CookiePriority priority);
CookieList GetAllCookies();
« no previous file with comments | « net/cookies/cookie_constants_unittest.cc ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698