Index: components/bookmarks/browser/bookmark_model_observer.h |
diff --git a/components/bookmarks/browser/bookmark_model_observer.h b/components/bookmarks/browser/bookmark_model_observer.h |
index a946d532ac8cdcf21053944e7d0b9e3d7bbea994..bebecd52b17a2b77f08da1baa1a3c213bf76a483 100644 |
--- a/components/bookmarks/browser/bookmark_model_observer.h |
+++ b/components/bookmarks/browser/bookmark_model_observer.h |
@@ -7,6 +7,8 @@ |
#include <set> |
+#include "base/basictypes.h" |
+ |
class GURL; |
namespace bookmarks { |
@@ -134,6 +136,11 @@ class BookmarkModelObserver { |
// ended. |
virtual void GroupedBookmarkChangesEnded(BookmarkModel* model) {} |
+ // Invoked when a bookmark id has been renumbered when an undo operation |
+ // occurs. |
+ virtual void BookmarkNodeRenumbered( |
+ BookmarkModel* model, int64 old_id, int64 new_id) {} |
sky
2015/09/25 15:54:44
int64_t on these. And this description is a bit co
jianli
2015/09/25 20:29:24
Changed to use int64_t and updated the comment.
T
sky
2015/09/25 20:38:57
I think bookmark undo should be changed such that
|
+ |
protected: |
virtual ~BookmarkModelObserver() {} |
}; |