Chromium Code Reviews| Index: net/base/cookie_monster.h |
| =================================================================== |
| --- net/base/cookie_monster.h (revision 25474) |
| +++ net/base/cookie_monster.h (working copy) |
| @@ -213,7 +213,7 @@ |
| // lazily in InitStoreIfNecessary(). |
| bool initialized_; |
| - PersistentCookieStore* store_; |
| + scoped_refptr<PersistentCookieStore> store_; |
| // The resolution of our time isn't enough, so we do something |
| // ugly and increment when we've seen the same time twice. |
| @@ -367,7 +367,11 @@ |
| bool httponly_; |
| }; |
| -class CookieMonster::PersistentCookieStore { |
| +typedef base::RefCountedThreadSafe<CookieMonster::PersistentCookieStore> |
|
eroman
2009/09/04 23:13:24
hehe.
|
| + RefcountedPersistentCookieStore; |
| + |
| +class CookieMonster::PersistentCookieStore |
| + : public RefcountedPersistentCookieStore { |
| public: |
| virtual ~PersistentCookieStore() { } |