Index: chrome/browser/bookmarks/base_bookmark_model_observer.cc |
diff --git a/chrome/browser/bookmarks/base_bookmark_model_observer.cc b/chrome/browser/bookmarks/base_bookmark_model_observer.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dfa4ba643474d74fc1d9778add1d855a76fd9d54 |
--- /dev/null |
+++ b/chrome/browser/bookmarks/base_bookmark_model_observer.cc |
@@ -0,0 +1,51 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "chrome/browser/bookmarks/base_bookmark_model_observer.h" |
+ |
+void BaseBookmarkModelObserver::Loaded(BookmarkModel* model) { |
+} |
+ |
+void BaseBookmarkModelObserver::BookmarkModelBeingDeleted( |
+ BookmarkModel* model) { |
+ BookmarkModelChanged(); |
+} |
+ |
+void BaseBookmarkModelObserver::BookmarkNodeMoved( |
+ BookmarkModel* model, |
+ const BookmarkNode* old_parent, |
+ int old_index, |
+ const BookmarkNode* new_parent, |
+ int new_index) { |
+ BookmarkModelChanged(); |
+} |
+ |
+void BaseBookmarkModelObserver::BookmarkNodeAdded(BookmarkModel* model, |
+ const BookmarkNode* parent, |
+ int index) { |
+ BookmarkModelChanged(); |
+} |
+ |
+void BaseBookmarkModelObserver::BookmarkNodeRemoved(BookmarkModel* model, |
+ const BookmarkNode* parent, |
+ int old_index, |
+ const BookmarkNode* node) { |
+ BookmarkModelChanged(); |
+} |
+ |
+void BaseBookmarkModelObserver::BookmarkNodeChanged(BookmarkModel* model, |
+ const BookmarkNode* node) { |
+ BookmarkModelChanged(); |
+} |
+ |
+void BaseBookmarkModelObserver::BookmarkNodeFavIconLoaded( |
+ BookmarkModel* model, |
+ const BookmarkNode* node) { |
+} |
+ |
+void BaseBookmarkModelObserver::BookmarkNodeChildrenReordered( |
+ BookmarkModel* model, |
+ const BookmarkNode* node) { |
+ BookmarkModelChanged(); |
+} |