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.
5 #include "components/bookmarks/browser/base_bookmark_model_observer.h"
9 void BaseBookmarkModelObserver::BookmarkModelLoaded(BookmarkModel
* model
,
10 bool ids_reassigned
) {}
12 void BaseBookmarkModelObserver::BookmarkModelBeingDeleted(
13 BookmarkModel
* model
) {
14 BookmarkModelChanged();
17 void BaseBookmarkModelObserver::BookmarkNodeMoved(
19 const BookmarkNode
* old_parent
,
21 const BookmarkNode
* new_parent
,
23 BookmarkModelChanged();
26 void BaseBookmarkModelObserver::BookmarkNodeAdded(BookmarkModel
* model
,
27 const BookmarkNode
* parent
,
29 BookmarkModelChanged();
32 void BaseBookmarkModelObserver::BookmarkNodeRemoved(
34 const BookmarkNode
* parent
,
36 const BookmarkNode
* node
,
37 const std::set
<GURL
>& removed_urls
) {
38 BookmarkModelChanged();
41 void BaseBookmarkModelObserver::BookmarkAllUserNodesRemoved(
43 const std::set
<GURL
>& removed_urls
) {
44 BookmarkModelChanged();
47 void BaseBookmarkModelObserver::BookmarkNodeChanged(BookmarkModel
* model
,
48 const BookmarkNode
* node
) {
49 BookmarkModelChanged();
52 void BaseBookmarkModelObserver::BookmarkNodeFaviconChanged(
54 const BookmarkNode
* node
) {
57 void BaseBookmarkModelObserver::BookmarkNodeChildrenReordered(
59 const BookmarkNode
* node
) {
60 BookmarkModelChanged();
63 } // namespace bookmarks