OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_BOOKMARKS_BASE_BOOKMARK_MODEL_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_BOOKMARKS_BASE_BOOKMARK_MODEL_OBSERVER_H_ |
6 #define CHROME_BROWSER_BOOKMARKS_BASE_BOOKMARK_MODEL_OBSERVER_H_ | 6 #define CHROME_BROWSER_BOOKMARKS_BASE_BOOKMARK_MODEL_OBSERVER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
11 #include "chrome/browser/bookmarks/bookmark_model_observer.h" | 10 #include "chrome/browser/bookmarks/bookmark_model_observer.h" |
12 | 11 |
13 // Base class for a BookmarkModelObserver implementation. All mutations of the | 12 // Base class for a BookmarkModelObserver implementation. All mutations of the |
14 // model funnel into the method BookmarkModelChanged. | 13 // model funnel into the method BookmarkModelChanged. |
15 class BaseBookmarkModelObserver : public BookmarkModelObserver { | 14 class BaseBookmarkModelObserver : public BookmarkModelObserver { |
16 public: | 15 public: |
17 BaseBookmarkModelObserver() {} | 16 BaseBookmarkModelObserver() {} |
(...skipping 23 matching lines...) Expand all Loading... |
41 const BookmarkNode* node) OVERRIDE; | 40 const BookmarkNode* node) OVERRIDE; |
42 | 41 |
43 protected: | 42 protected: |
44 virtual ~BaseBookmarkModelObserver() {} | 43 virtual ~BaseBookmarkModelObserver() {} |
45 | 44 |
46 private: | 45 private: |
47 DISALLOW_COPY_AND_ASSIGN(BaseBookmarkModelObserver); | 46 DISALLOW_COPY_AND_ASSIGN(BaseBookmarkModelObserver); |
48 }; | 47 }; |
49 | 48 |
50 #endif // CHROME_BROWSER_BOOKMARKS_BASE_BOOKMARK_MODEL_OBSERVER_H_ | 49 #endif // CHROME_BROWSER_BOOKMARKS_BASE_BOOKMARK_MODEL_OBSERVER_H_ |
OLD | NEW |