Make sure to handle skipForNow when the user does not sign in.
[chromium-blink-merge.git] / components / bookmarks / browser / base_bookmark_model_observer.cc
blob0e02f6bb0b066e43f3582e10d0a04c06c0e2cdd5
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(
16 BookmarkModel* model,
17 const BookmarkNode* old_parent,
18 int old_index,
19 const BookmarkNode* new_parent,
20 int new_index) {
21 BookmarkModelChanged();
24 void BaseBookmarkModelObserver::BookmarkNodeAdded(BookmarkModel* model,
25 const BookmarkNode* parent,
26 int index) {
27 BookmarkModelChanged();
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();
39 void BaseBookmarkModelObserver::BookmarkAllUserNodesRemoved(
40 BookmarkModel* model,
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(
51 BookmarkModel* model,
52 const BookmarkNode* node) {
55 void BaseBookmarkModelObserver::BookmarkNodeChildrenReordered(
56 BookmarkModel* model,
57 const BookmarkNode* node) {
58 BookmarkModelChanged();