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"
7 void BaseBookmarkModelObserver::BookmarkModelLoaded(BookmarkModel
* model
,
8 bool ids_reassigned
) {}
10 void BaseBookmarkModelObserver::BookmarkModelBeingDeleted(
11 BookmarkModel
* model
) {
12 BookmarkModelChanged();
15 void BaseBookmarkModelObserver::BookmarkNodeMoved(
17 const BookmarkNode
* old_parent
,
19 const BookmarkNode
* new_parent
,
21 BookmarkModelChanged();
24 void BaseBookmarkModelObserver::BookmarkNodeAdded(BookmarkModel
* model
,
25 const BookmarkNode
* parent
,
27 BookmarkModelChanged();
30 void BaseBookmarkModelObserver::BookmarkNodeRemoved(
32 const BookmarkNode
* parent
,
34 const BookmarkNode
* node
,
35 const std::set
<GURL
>& removed_urls
) {
36 BookmarkModelChanged();
39 void BaseBookmarkModelObserver::BookmarkAllUserNodesRemoved(
41 const std::set
<GURL
>& removed_urls
) {
42 BookmarkModelChanged();
45 void BaseBookmarkModelObserver::BookmarkNodeChanged(BookmarkModel
* model
,
46 const BookmarkNode
* node
) {
47 BookmarkModelChanged();
50 void BaseBookmarkModelObserver::BookmarkNodeFaviconChanged(
52 const BookmarkNode
* node
) {
55 void BaseBookmarkModelObserver::BookmarkNodeChildrenReordered(
57 const BookmarkNode
* node
) {
58 BookmarkModelChanged();