summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 00:31:36 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-06 00:31:36 +0000
commitb1f498e33399652b128d9801ad7d96bbeee4ba87 (patch)
treec6ebb70ec1495990f9f3cd028717b0742b9f4614 /chrome/browser/bookmarks
parent666b8f577de314cfe3b232345063248878b0150e (diff)
downloadchromium_src-b1f498e33399652b128d9801ad7d96bbeee4ba87.zip
chromium_src-b1f498e33399652b128d9801ad7d96bbeee4ba87.tar.gz
chromium_src-b1f498e33399652b128d9801ad7d96bbeee4ba87.tar.bz2
Fifth patch in making destructors of refcounted objects private.
BUG=26749 Review URL: http://codereview.chromium.org/361025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31175 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks')
-rw-r--r--chrome/browser/bookmarks/bookmark_storage.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/bookmarks/bookmark_storage.h b/chrome/browser/bookmarks/bookmark_storage.h
index d41b2c5..e3e1337 100644
--- a/chrome/browser/bookmarks/bookmark_storage.h
+++ b/chrome/browser/bookmarks/bookmark_storage.h
@@ -92,7 +92,6 @@ class BookmarkStorage : public NotificationObserver,
// Creates a BookmarkStorage for the specified model
BookmarkStorage(Profile* profile, BookmarkModel* model);
- ~BookmarkStorage();
// Loads the bookmarks into the model, notifying the model when done. This
// takes ownership of |details|. See LoadDetails for details.
@@ -109,6 +108,10 @@ class BookmarkStorage : public NotificationObserver,
virtual bool SerializeData(std::string* output);
private:
+ friend class base::RefCountedThreadSafe<BookmarkStorage>;
+
+ ~BookmarkStorage();
+
class LoadTask;
// Callback from backend with the results of the bookmark file.