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

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..213dba1d71e916aed8dcc5806f2142d82e8ae99d
--- /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:
+ // Invoked when a bookmark id has been renumbered so that any
+ // 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