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

Unified Diff: trunk/src/net/cookies/canonical_cookie.h

Issue 280383002: Revert 269855 "Only commit cookie changes in prerenders after a ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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
Index: trunk/src/net/cookies/canonical_cookie.h
===================================================================
--- trunk/src/net/cookies/canonical_cookie.h (revision 269877)
+++ trunk/src/net/cookies/canonical_cookie.h (working copy)
@@ -125,9 +125,6 @@
std::string DebugString() const;
- // Returns a duplicate of this cookie.
- CanonicalCookie* Duplicate();
-
// Returns the cookie source when cookies are set for |url|. This function
// is public for unit test purposes only.
static std::string GetCookieSourceFromURL(const GURL& url);
@@ -137,9 +134,6 @@
const base::Time& server_time);
private:
- // NOTE: When any new members are added below, the implementation of
- // Duplicate() must be updated to copy the new member accordingly.
-
// The source member of a canonical cookie is the origin of the URL that tried
// to set this cookie, minus the port number if any. This field is not
// persistent though; its only used in the in-tab cookies dialog to show the
@@ -159,9 +153,6 @@
bool secure_;
bool httponly_;
CookiePriority priority_;
- // NOTE: When any new members are added above this comment, the
- // implementation of Duplicate() must be updated to copy the new member
- // accordingly.
};
typedef std::vector<CanonicalCookie> CookieList;
« no previous file with comments | « trunk/src/content/public/browser/content_browser_client.cc ('k') | trunk/src/net/cookies/canonical_cookie.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698