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

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

Issue 176563002: Revert r252832: Eliminate Bookmarks dependence to bookmark_undo_utils.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
« no previous file with comments | « chrome/browser/undo/bookmark_undo_service.cc ('k') | chrome/browser/undo/bookmark_undo_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/undo/bookmark_undo_utils.h
diff --git a/chrome/browser/undo/bookmark_undo_utils.h b/chrome/browser/undo/bookmark_undo_utils.h
index af6ae9f17832e9433c20a5399216757f41ca851f..3a9018ac1fc78d4c50532d20a4c0e002269956d1 100644
--- a/chrome/browser/undo/bookmark_undo_utils.h
+++ b/chrome/browser/undo/bookmark_undo_utils.h
@@ -24,4 +24,18 @@ class ScopedSuspendBookmarkUndo {
DISALLOW_COPY_AND_ASSIGN(ScopedSuspendBookmarkUndo);
};
+// ScopedGroupBookmarkActions -------------------------------------------------
+
+// Scopes the grouping of a set of changes into one undoable action.
+class ScopedGroupBookmarkActions {
+ public:
+ explicit ScopedGroupBookmarkActions(Profile* profile);
+ ~ScopedGroupBookmarkActions();
+
+ private:
+ Profile* profile_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScopedGroupBookmarkActions);
+};
+
#endif // CHROME_BROWSER_UNDO_BOOKMARK_UNDO_UTILS_H_
« no previous file with comments | « chrome/browser/undo/bookmark_undo_service.cc ('k') | chrome/browser/undo/bookmark_undo_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698