summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_storage.h')
-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.