OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/bookmarks/core/browser/base_bookmark_model_observer.h" | |
6 | |
7 void BaseBookmarkModelObserver::BookmarkModelLoaded(BookmarkModel* model, | |
8 bool ids_reassigned) {} | |
9 | |
10 void BaseBookmarkModelObserver::BookmarkModelBeingDeleted( | |
11 BookmarkModel* model) { | |
12 BookmarkModelChanged(); | |
13 } | |
14 | |
15 void BaseBookmarkModelObserver::BookmarkNodeMoved( | |
16 BookmarkModel* model, | |
17 const BookmarkNode* old_parent, | |
18 int old_index, | |
19 const BookmarkNode* new_parent, | |
20 int new_index) { | |
21 BookmarkModelChanged(); | |
22 } | |
23 | |
24 void BaseBookmarkModelObserver::BookmarkNodeAdded(BookmarkModel* model, | |
25 const BookmarkNode* parent, | |
26 int index) { | |
27 BookmarkModelChanged(); | |
28 } | |
29 | |
30 void BaseBookmarkModelObserver::BookmarkNodeRemoved( | |
31 BookmarkModel* model, | |
32 const BookmarkNode* parent, | |
33 int old_index, | |
34 const BookmarkNode* node, | |
35 const std::set<GURL>& removed_urls) { | |
36 BookmarkModelChanged(); | |
37 } | |
38 | |
39 void BaseBookmarkModelObserver::BookmarkAllNodesRemoved( | |
40 BookmarkModel* model, | |
41 const std::set<GURL>& removed_urls) { | |
42 BookmarkModelChanged(); | |
43 } | |
44 | |
45 void BaseBookmarkModelObserver::BookmarkNodeChanged(BookmarkModel* model, | |
46 const BookmarkNode* node) { | |
47 BookmarkModelChanged(); | |
48 } | |
49 | |
50 void BaseBookmarkModelObserver::BookmarkNodeFaviconChanged( | |
51 BookmarkModel* model, | |
52 const BookmarkNode* node) { | |
53 } | |
54 | |
55 void BaseBookmarkModelObserver::BookmarkNodeChildrenReordered( | |
56 BookmarkModel* model, | |
57 const BookmarkNode* node) { | |
58 BookmarkModelChanged(); | |
59 } | |
OLD | NEW |