diff options
Diffstat (limited to 'net/base/cookie_monster.h')
-rw-r--r-- | net/base/cookie_monster.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/base/cookie_monster.h b/net/base/cookie_monster.h index 910e9f8..d6161ce 100644 --- a/net/base/cookie_monster.h +++ b/net/base/cookie_monster.h @@ -160,6 +160,11 @@ class NET_API CookieMonster : public CookieStore { bool secure, bool http_only, const SetCookiesCallback& callback); + + // Helper function that adds all cookies from |cookie_monster| into this + // instance. + bool InitializeFrom(CookieMonster* cookie_monster); + // Returns all the cookies, for use in management UI, etc. This does not mark // the cookies as having been accessed. // The returned cookies are ordered by longest path, then by earliest @@ -461,7 +466,6 @@ class NET_API CookieMonster : public CookieStore { const base::Time& creation_time, const CookieOptions& options); - // Helper function that sets a canonical cookie, deleting equivalents and // performing garbage collection. bool SetCanonicalCookie(scoped_ptr<CanonicalCookie>* cc, |