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/database | |
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/database')
-rw-r--r-- | webkit/database/database_tracker.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/database/database_tracker.h b/webkit/database/database_tracker.h index 1e017aa..2bcfc6f 100644 --- a/webkit/database/database_tracker.h +++ b/webkit/database/database_tracker.h @@ -47,7 +47,6 @@ class DatabaseTracker }; explicit DatabaseTracker(const FilePath& profile_path); - ~DatabaseTracker(); void DatabaseOpened(const string16& origin_identifier, const string16& database_name, @@ -70,6 +69,10 @@ class DatabaseTracker const string16& database_name) const; private: + friend class base::RefCountedThreadSafe<DatabaseTracker>; + + ~DatabaseTracker(); + class CachedOriginInfo { public: CachedOriginInfo() : total_size_(0) { } |