Index: chrome/browser/undo/bookmark_renumber_observer.h |
diff --git a/chrome/browser/undo/bookmark_renumber_observer.h b/chrome/browser/undo/bookmark_renumber_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f2847fdce9d53cdeb27dea66c03b0cc431135ca7 |
--- /dev/null |
+++ b/chrome/browser/undo/bookmark_renumber_observer.h |
@@ -0,0 +1,18 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UNDO_BOOKMARK_RENUMBER_OBSERVER_H_ |
+#define CHROME_BROWSER_UNDO_BOOKMARK_RENUMBER_OBSERVER_H_ |
+ |
+class BookmarkRenumberObserver { |
+ public: |
+ // Should be called when a bookmark id has been renumbered so that any |
sky
2013/09/04 21:52:18
Should be called -> Called (or invoked if you pref
Tom Cassiotis
2013/09/05 12:51:58
Done.
|
+ // BookmarkUndoOperations that refer to that bookmark can be updated. |
+ virtual void OnBookmarkRenumbered(int64 old_id, int64 new_id) = 0; |
+ |
+ protected: |
+ virtual ~BookmarkRenumberObserver() {} |
+}; |
+ |
+#endif // CHROME_BROWSER_UNDO_BOOKMARK_RENUMBER_OBSERVER_H_ |