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

Unified Diff: chrome/browser/undo/bookmark_renumber_observer.h

Issue 19287013: Bookmark Undo service for multiple level undo/redo of bookmarks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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/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_
« no previous file with comments | « no previous file | chrome/browser/undo/bookmark_undo_service.h » ('j') | chrome/browser/undo/bookmark_undo_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698