Index: net/cookies/cookie_monster.h |
diff --git a/net/cookies/cookie_monster.h b/net/cookies/cookie_monster.h |
index f6485665983e9acfd36927926d3c049c39dff346..4620a2b5353a97a028bef10f06c5d246d429fbd6 100644 |
--- a/net/cookies/cookie_monster.h |
+++ b/net/cookies/cookie_monster.h |
@@ -927,8 +927,6 @@ typedef base::RefCountedThreadSafe<CookieMonster::PersistentCookieStore> |
class CookieMonster::PersistentCookieStore |
: public RefcountedPersistentCookieStore { |
public: |
- virtual ~PersistentCookieStore() {} |
- |
typedef base::Callback<void(const std::vector< |
CookieMonster::CanonicalCookie*>&)> LoadedCallback; |
@@ -957,7 +955,10 @@ class CookieMonster::PersistentCookieStore |
virtual void Flush(const base::Closure& callback) = 0; |
protected: |
+ friend class base::RefCountedThreadSafe<PersistentCookieStore>; |
+ |
PersistentCookieStore() {} |
+ virtual ~PersistentCookieStore() {} |
private: |
DISALLOW_COPY_AND_ASSIGN(PersistentCookieStore); |