closure: fix compile error by adding missing externs
[chromium-blink-merge.git] / components / bookmarks / browser / base_bookmark_model_observer.cc
blob7d40d0f9eb5f926a1b5cb2977595be9911b95dbc
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 namespace bookmarks {
9 void BaseBookmarkModelObserver::BookmarkModelLoaded(BookmarkModel* model,
10 bool ids_reassigned) {}
12 void BaseBookmarkModelObserver::BookmarkModelBeingDeleted(
13 BookmarkModel* model) {
14 BookmarkModelChanged();
17 void BaseBookmarkModelObserver::BookmarkNodeMoved(
18 BookmarkModel* model,
19 const BookmarkNode* old_parent,
20 int old_index,
21 const BookmarkNode* new_parent,
22 int new_index) {
23 BookmarkModelChanged();
26 void BaseBookmarkModelObserver::BookmarkNodeAdded(BookmarkModel* model,
27 const BookmarkNode* parent,
28 int index) {
29 BookmarkModelChanged();
32 void BaseBookmarkModelObserver::BookmarkNodeRemoved(
33 BookmarkModel* model,
34 const BookmarkNode* parent,
35 int old_index,
36 const BookmarkNode* node,
37 const std::set<GURL>& removed_urls) {
38 BookmarkModelChanged();
41 void BaseBookmarkModelObserver::BookmarkAllUserNodesRemoved(
42 BookmarkModel* model,
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(
53 BookmarkModel* model,
54 const BookmarkNode* node) {
57 void BaseBookmarkModelObserver::BookmarkNodeChildrenReordered(
58 BookmarkModel* model,
59 const BookmarkNode* node) {
60 BookmarkModelChanged();
63 } // namespace bookmarks