| 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..4b1fd80fc4e0cebecdc78a322b276b34f9e3b447 100644
|
| --- a/chrome/browser/bookmarks/bookmark_model.h
|
| +++ b/chrome/browser/bookmarks/bookmark_model.h
|
| @@ -43,6 +43,10 @@ namespace chrome {
|
| struct FaviconImageResult;
|
| }
|
|
|
| +namespace bookmark_utils {
|
| +class ScopedGroupBookmarkActions;
|
| +}
|
| +
|
| // BookmarkNode ---------------------------------------------------------------
|
|
|
| // BookmarkNode contains information about a starred entry: title, URL, favicon,
|
| @@ -438,6 +442,7 @@ class BookmarkModel : public content::NotificationObserver,
|
| friend class BookmarkCodecTest;
|
| friend class BookmarkModelTest;
|
| friend class BookmarkStorage;
|
| + friend class bookmark_utils::ScopedGroupBookmarkActions;
|
|
|
| // Used to order BookmarkNodes by URL.
|
| class NodeURLComparator {
|
| @@ -513,6 +518,11 @@ class BookmarkModel : public content::NotificationObserver,
|
| // If we're waiting on a favicon for node, the load request is canceled.
|
| void CancelPendingFaviconLoadRequests(BookmarkNode* node);
|
|
|
| + // Notifies the observers that a set of changes initiated by a single user
|
| + // action is about to happen and has completed.
|
| + void BeginGroupedChanges();
|
| + void EndGroupedChanges();
|
| +
|
| // content::NotificationObserver:
|
| virtual void Observe(int type,
|
| const content::NotificationSource& source,
|
|
|