diff options
author | rdsmith@google.com <rdsmith@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 15:29:57 +0000 |
---|---|---|
committer | rdsmith@google.com <rdsmith@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-21 15:29:57 +0000 |
commit | 65781e9b7461c629639f5b9bff4f886b8b033a2b (patch) | |
tree | c355e78666be88f0799791f5b30dafedf028da43 /webkit/glue/webcookie.h | |
parent | 7008ab600398f8dd3be89fe9fa65074525d19666 (diff) | |
download | chromium_src-65781e9b7461c629639f5b9bff4f886b8b033a2b.zip chromium_src-65781e9b7461c629639f5b9bff4f886b8b033a2b.tar.gz chromium_src-65781e9b7461c629639f5b9bff4f886b8b033a2b.tar.bz2 |
Changed type CookieList to being a vector CanonicalCookies.
Originally, it was a vector of pair<domain_string, CanonicalCookie>.
TEST=Refactor; all relevant unit tests should still pass.
BUG=8850
Review URL: http://codereview.chromium.org/2799057
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webcookie.h')
-rw-r--r-- | webkit/glue/webcookie.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webkit/glue/webcookie.h b/webkit/glue/webcookie.h index 2feb800..e2f11e2 100644 --- a/webkit/glue/webcookie.h +++ b/webkit/glue/webcookie.h @@ -28,11 +28,10 @@ struct WebCookie { session(session) { } - WebCookie(const std::string& domain, - const net::CookieMonster::CanonicalCookie& c) + explicit WebCookie(const net::CookieMonster::CanonicalCookie& c) : name(c.Name()), value(c.Value()), - domain(domain), + domain(c.Domain()), path(c.Path()), expires(c.ExpiryDate().ToDoubleT() * 1000), http_only(c.IsHttpOnly()), |