| 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,
|
|
|