Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Side by Side Diff: components/bookmarks/core/browser/base_bookmark_model_observer.cc

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « components/bookmarks/core/browser/base_bookmark_model_observer.h ('k') | components/bookmarks/core/browser/bookmark_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698