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

Side by Side Diff: components/undo/bookmark_undo_service.h

Issue 1090993003: Move undo files into //components/undo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@utils
Patch Set: Fix gn compilation 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 unified diff | Download patch
« no previous file with comments | « components/undo/bookmark_renumber_observer.h ('k') | components/undo/bookmark_undo_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UNDO_BOOKMARK_UNDO_SERVICE_H_ 5 #ifndef COMPONENTS_UNDO_BOOKMARK_UNDO_SERVICE_H_
6 #define CHROME_BROWSER_UNDO_BOOKMARK_UNDO_SERVICE_H_ 6 #define COMPONENTS_UNDO_BOOKMARK_UNDO_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/scoped_observer.h" 10 #include "base/scoped_observer.h"
11 #include "chrome/browser/undo/bookmark_renumber_observer.h"
12 #include "chrome/browser/undo/undo_manager.h"
13 #include "components/bookmarks/browser/base_bookmark_model_observer.h" 11 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
14 #include "components/bookmarks/browser/bookmark_node_data.h" 12 #include "components/bookmarks/browser/bookmark_node_data.h"
15 #include "components/keyed_service/core/keyed_service.h" 13 #include "components/keyed_service/core/keyed_service.h"
14 #include "components/undo/bookmark_renumber_observer.h"
15 #include "components/undo/undo_manager.h"
16 16
17 namespace bookmarks { 17 namespace bookmarks {
18 class BookmarkModel; 18 class BookmarkModel;
19 class BookmarkModelObserver; 19 class BookmarkModelObserver;
20 } 20 }
21 21
22 // BookmarkUndoService -------------------------------------------------------- 22 // BookmarkUndoService --------------------------------------------------------
23 23
24 // BookmarkUndoService is owned by the profile, and is responsible for observing 24 // BookmarkUndoService is owned by the profile, and is responsible for observing
25 // BookmarkModel changes in order to provide an undo for those changes. 25 // BookmarkModel changes in order to provide an undo for those changes.
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // BookmarkRenumberObserver: 70 // BookmarkRenumberObserver:
71 void OnBookmarkRenumbered(int64 old_id, int64 new_id) override; 71 void OnBookmarkRenumbered(int64 old_id, int64 new_id) override;
72 72
73 UndoManager undo_manager_; 73 UndoManager undo_manager_;
74 ScopedObserver<bookmarks::BookmarkModel, bookmarks::BookmarkModelObserver> 74 ScopedObserver<bookmarks::BookmarkModel, bookmarks::BookmarkModelObserver>
75 scoped_observer_; 75 scoped_observer_;
76 76
77 DISALLOW_COPY_AND_ASSIGN(BookmarkUndoService); 77 DISALLOW_COPY_AND_ASSIGN(BookmarkUndoService);
78 }; 78 };
79 79
80 #endif // CHROME_BROWSER_UNDO_BOOKMARK_UNDO_SERVICE_H_ 80 #endif // COMPONENTS_UNDO_BOOKMARK_UNDO_SERVICE_H_
OLDNEW
« no previous file with comments | « components/undo/bookmark_renumber_observer.h ('k') | components/undo/bookmark_undo_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698