diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:40:45 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-05 23:40:45 +0000 |
commit | 122331d5cf1fdad245bb4e174c188ec3851b4d13 (patch) | |
tree | d9d47ff2304f96e0f5bbe97e080c80069ad45c9a /webkit/appcache/appcache.h | |
parent | f164cea41472f9e9ec21579233e2c42a7b9d5184 (diff) | |
download | chromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.zip chromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.tar.gz chromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.tar.bz2 |
Third patch in making destructors of refcounted objects private.
BUG=26749
Review URL: http://codereview.chromium.org/363023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache.h')
-rw-r--r-- | webkit/appcache/appcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/appcache/appcache.h b/webkit/appcache/appcache.h index 203b582..57ca42a 100644 --- a/webkit/appcache/appcache.h +++ b/webkit/appcache/appcache.h @@ -32,7 +32,6 @@ class AppCache : public base::RefCounted<AppCache> { typedef std::set<AppCacheHost*> AppCacheHosts; AppCache(AppCacheService *service, int64 cache_id); - ~AppCache(); int64 cache_id() const { return cache_id_; } @@ -80,6 +79,9 @@ class AppCache : public base::RefCounted<AppCache> { friend class AppCacheGroup; friend class AppCacheHost; friend class AppCacheUpdateJobTest; + friend class base::RefCounted<AppCache>; + + ~AppCache(); // Use AppCacheGroup::Add/RemoveCache() to manipulate owning group. void set_owning_group(AppCacheGroup* group) { owning_group_ = group; } |