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

Side by Side Diff: components/bookmarks/browser/bookmark_model_observer.h

Issue 865163003: bookmarks: Move BookmarkNode into 'bookmarks' namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enhanced_bookmarks fix Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ 5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_
6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 class BookmarkNode;
11 class GURL; 10 class GURL;
12 11
13 namespace bookmarks { 12 namespace bookmarks {
14 13
15 class BookmarkModel; 14 class BookmarkModel;
15 class BookmarkNode;
16 16
17 // Observer for the BookmarkModel. 17 // Observer for the BookmarkModel.
18 class BookmarkModelObserver { 18 class BookmarkModelObserver {
19 public: 19 public:
20 // Invoked when the model has finished loading. |ids_reassigned| mirrors 20 // Invoked when the model has finished loading. |ids_reassigned| mirrors
21 // that of BookmarkLoadDetails::ids_reassigned. See it for details. 21 // that of BookmarkLoadDetails::ids_reassigned. See it for details.
22 virtual void BookmarkModelLoaded(BookmarkModel* model, 22 virtual void BookmarkModelLoaded(BookmarkModel* model,
23 bool ids_reassigned) = 0; 23 bool ids_reassigned) = 0;
24 24
25 // Invoked from the destructor of the BookmarkModel. 25 // Invoked from the destructor of the BookmarkModel.
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // ended. 134 // ended.
135 virtual void GroupedBookmarkChangesEnded(BookmarkModel* model) {} 135 virtual void GroupedBookmarkChangesEnded(BookmarkModel* model) {}
136 136
137 protected: 137 protected:
138 virtual ~BookmarkModelObserver() {} 138 virtual ~BookmarkModelObserver() {}
139 }; 139 };
140 140
141 } // namespace bookmarks 141 } // namespace bookmarks
142 142
143 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_ 143 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_MODEL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698