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

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

Issue 1059523005: Remove dependency on //chrome from bookmark_undo_utils (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@tests
Patch Set: Created 5 years, 8 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_factory.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..2cf1d5cc6d7b3f1828d58525778c657e9b9cd4d7 100644
--- a/chrome/browser/undo/bookmark_undo_utils.h
+++ b/chrome/browser/undo/bookmark_undo_utils.h
@@ -7,19 +7,21 @@
#include "base/basictypes.h"
-class Profile;
+class BookmarkUndoService;
+class UndoManager;
// ScopedSuspendBookmarkUndo --------------------------------------------------
// Scopes the suspension of the undo tracking for non-user initiated changes
-// such as those occuring during profile synchronization.
+// such as those occuring during account synchronization.
class ScopedSuspendBookmarkUndo {
public:
- explicit ScopedSuspendBookmarkUndo(Profile* profile);
+ explicit ScopedSuspendBookmarkUndo(
+ BookmarkUndoService* bookmark_undo_service);
~ScopedSuspendBookmarkUndo();
private:
- Profile* profile_;
+ UndoManager* undo_manager_;
DISALLOW_COPY_AND_ASSIGN(ScopedSuspendBookmarkUndo);
};
« no previous file with comments | « chrome/browser/undo/bookmark_undo_service_factory.cc ('k') | chrome/browser/undo/bookmark_undo_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698