diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-03 15:30:36 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-03 15:30:36 +0000 |
commit | 7d80c54c146886a7a02b1ce0a548aa86a258e1cd (patch) | |
tree | 01222325a3b09811461ff18b529551ab403e2ac7 /net/base/cookie_monster.h | |
parent | 87d4cd49f1d8551578ab4c3d04fd21e31d83e379 (diff) | |
download | chromium_src-7d80c54c146886a7a02b1ce0a548aa86a258e1cd.zip chromium_src-7d80c54c146886a7a02b1ce0a548aa86a258e1cd.tar.gz chromium_src-7d80c54c146886a7a02b1ce0a548aa86a258e1cd.tar.bz2 |
Make the cookie list a class (instead of a typedef inside CookieMonster)...
...so it can be forward declared
BUG=none
TEST=compiles
Review URL: http://codereview.chromium.org/5462002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68173 0039d316-1c4b-4281-b951-d872f2087c98
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 cdb508e..44bd510 100644 --- a/net/base/cookie_monster.h +++ b/net/base/cookie_monster.h @@ -29,6 +29,8 @@ class Histogram; namespace net { +class CookieList; + // The cookie monster is the system for storing and retrieving cookies. It has // an in-memory list of all cookies, and synchronizes non-session cookies to an // optional permanent storage that implements the PersistentCookieStore @@ -94,7 +96,6 @@ class CookieMonster : public CookieStore { // subtantially more entries in the map. typedef std::multimap<std::string, CanonicalCookie*> CookieMap; typedef std::pair<CookieMap::iterator, CookieMap::iterator> CookieMapItPair; - typedef std::vector<CanonicalCookie> CookieList; // The key and expiry scheme to be used by the monster. // EKS_KEEP_RECENT_AND_PURGE_ETLDP1 means to use @@ -693,6 +694,9 @@ class CookieMonster::PersistentCookieStore DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); }; +class CookieList : public std::vector<CookieMonster::CanonicalCookie> { +}; + } // namespace net #endif // NET_BASE_COOKIE_MONSTER_H_ |