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

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

Issue 155913004: Eliminate Bookmarks dependence to bookmark_undo_utils.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
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 3a9018ac1fc78d4c50532d20a4c0e002269956d1..d9f4e21a4d2ca4a8367a1c4dea0d083a3ce390ad 100644
--- a/chrome/browser/undo/bookmark_undo_utils.h
+++ b/chrome/browser/undo/bookmark_undo_utils.h
@@ -1,41 +1,27 @@
-// Copyright 2014 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_UNDO_UTILS_H_
-#define CHROME_BROWSER_UNDO_BOOKMARK_UNDO_UTILS_H_
-
-#include "base/basictypes.h"
-
-class Profile;
-
-// ScopedSuspendBookmarkUndo --------------------------------------------------
-
-// Scopes the suspension of the undo tracking for non-user initiated changes
-// such as those occuring during profile synchronization.
-class ScopedSuspendBookmarkUndo {
- public:
- explicit ScopedSuspendBookmarkUndo(Profile* profile);
- ~ScopedSuspendBookmarkUndo();
-
- private:
- Profile* profile_;
-
- 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_
+// Copyright 2014 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_UNDO_UTILS_H_
+#define CHROME_BROWSER_UNDO_BOOKMARK_UNDO_UTILS_H_
+
+#include "base/basictypes.h"
+
+class Profile;
+
+// ScopedSuspendBookmarkUndo --------------------------------------------------
+
+// Scopes the suspension of the undo tracking for non-user initiated changes
+// such as those occuring during profile synchronization.
+class ScopedSuspendBookmarkUndo {
+ public:
+ explicit ScopedSuspendBookmarkUndo(Profile* profile);
+ ~ScopedSuspendBookmarkUndo();
+
+ private:
+ Profile* profile_;
+
+ DISALLOW_COPY_AND_ASSIGN(ScopedSuspendBookmarkUndo);
+};
+
+#endif // CHROME_BROWSER_UNDO_BOOKMARK_UNDO_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698