Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4436)

Unified Diff: chrome/browser/bookmarks/bookmark_model.h

Issue 155913004: Eliminate Bookmarks dependence to bookmark_undo_utils.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: All grouped action to notify BookmarkModelObservers Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/bookmarks/bookmark_model.h
diff --git a/chrome/browser/bookmarks/bookmark_model.h b/chrome/browser/bookmarks/bookmark_model.h
index 9bb35269fb49ff0cab56ae9ab043d0c04ab580ca..2c6edd0737773debf08d458c54b60dd082f4ced0 100644
--- a/chrome/browser/bookmarks/bookmark_model.h
+++ b/chrome/browser/bookmarks/bookmark_model.h
@@ -292,6 +292,11 @@ class BookmarkModel : public content::NotificationObserver,
void BeginExtensiveChanges();
void EndExtensiveChanges();
+ // Notifies the observers that a set of changes initiated by a single user
+ // action is about to happen and has completed.
+ void BeginGroupedChanges();
sky 2014/02/06 17:48:27 Can you make these private and the only way to use
Tom Cassiotis 2014/02/21 17:51:45 Done.
+ void EndGroupedChanges();
+
// Returns true if this bookmark model is currently in a mode where extensive
// changes might happen, such as for import and sync. This is helpful for
// observers that are created after the mode has started, and want to check

Powered by Google App Engine
This is Rietveld 408576698