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

Unified Diff: net/base/cookie_monster.cc

Issue 7491049: Revert 95534 - Creat BrowsingDataCookieHelper and CannedBrowsingDataCookieHelper for logging cook... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/base/cookie_monster.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster.cc
===================================================================
--- net/base/cookie_monster.cc (revision 95574)
+++ net/base/cookie_monster.cc (working copy)
@@ -2152,28 +2152,6 @@
}
CookieMonster::CanonicalCookie* CookieMonster::CanonicalCookie::Create(
- const GURL& url,
- const ParsedCookie& pc) {
- std::string domain_string;
- if (pc.HasDomain())
- domain_string = pc.Domain();
- std::string path_string;
- if (pc.HasPath())
- path_string = pc.Path();
- std::string mac_key = pc.HasMACKey() ? pc.MACKey() : std::string();
- std::string mac_algorithm = pc.HasMACAlgorithm() ?
- pc.MACAlgorithm() : std::string();
- Time creation_time = Time::Now();
- Time expiration_time;
- if (pc.HasExpires())
- expiration_time = net::CookieMonster::ParseCookieTime(pc.Expires());
-
- return (Create(url, pc.Name(), pc.Value(), domain_string, path_string,
- mac_key, mac_algorithm, creation_time, expiration_time,
- pc.IsSecure(), pc.IsHttpOnly()));
-}
-
-CookieMonster::CanonicalCookie* CookieMonster::CanonicalCookie::Create(
const GURL& url,
const std::string& name,
const std::string& value,
« no previous file with comments | « net/base/cookie_monster.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698