diff options
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_model.h')
-rw-r--r-- | chrome/browser/bookmarks/bookmark_model.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h index 675405b..332e599 100644 --- a/chrome/browser/bookmarks/bookmark_model.h +++ b/chrome/browser/bookmarks/bookmark_model.h @@ -284,6 +284,12 @@ class BookmarkModel : public NotificationObserver, public BookmarkService { Profile* profile() const { return profile_; } + + // Sets the BookmarkStorage. This is intended for testing. + void set_store(BookmarkStorage* store) { + store_ = store; + } + private: // Used to order BookmarkNodes by URL. class NodeURLComparator { |