summaryrefslogtreecommitdiffstats
path: root/components/bookmarks/browser/bookmark_model_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/bookmarks/browser/bookmark_model_observer.h')
-rw-r--r--components/bookmarks/browser/bookmark_model_observer.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/components/bookmarks/browser/bookmark_model_observer.h b/components/bookmarks/browser/bookmark_model_observer.h
index a3c64b5..c740046 100644
--- a/components/bookmarks/browser/bookmark_model_observer.h
+++ b/components/bookmarks/browser/bookmark_model_observer.h
@@ -99,28 +99,15 @@ class BookmarkModelObserver {
// update to finish.
virtual void ExtensiveBookmarkChangesEnded(BookmarkModel* model) {}
- // Invoked before all non-permanent bookmark nodes that are editable by
- // the user are removed.
- virtual void OnWillRemoveAllUserBookmarks(BookmarkModel* model) {
- OnWillRemoveAllBookmarks(model);
- }
+ // Invoked before all non-permanent bookmark nodes are removed.
+ virtual void OnWillRemoveAllBookmarks(BookmarkModel* model) {}
// Invoked when all non-permanent bookmark nodes that are editable by the
// user have been removed.
// |removed_urls| is populated with the urls which no longer have any
// bookmarks associated with them.
- virtual void BookmarkAllUserNodesRemoved(
- BookmarkModel* model,
- const std::set<GURL>& removed_urls) {
- BookmarkAllNodesRemoved(model, removed_urls);
- }
-
- // These deprecated methods will be removed once all implementations are
- // updated. http://crbug.com/49598
- virtual void OnWillRemoveAllBookmarks(BookmarkModel* model) {}
- virtual void BookmarkAllNodesRemoved(
- BookmarkModel* model,
- const std::set<GURL>& removed_urls) {}
+ virtual void BookmarkAllNodesRemoved(BookmarkModel* model,
+ const std::set<GURL>& removed_urls) = 0;
// Invoked before a set of model changes that is initiated by a single user
// action. For example, this is called a single time when pasting from the