OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_OBSERVER_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_OBSERVER_H_ |
6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_OBSERVER_H_ | 6 #define COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_OBSERVER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "components/dom_distiller/core/article_entry.h" | 12 #include "components/dom_distiller/core/article_entry.h" |
12 | 13 |
13 namespace dom_distiller { | 14 namespace dom_distiller { |
14 | 15 |
15 // Provides notifications for any mutations to entries of the reading list. | 16 // Provides notifications for any mutations to entries of the reading list. |
16 class DomDistillerObserver { | 17 class DomDistillerObserver { |
17 public: | 18 public: |
18 // An update to an article entry. | 19 // An update to an article entry. |
19 struct ArticleUpdate { | 20 struct ArticleUpdate { |
20 enum UpdateType { | 21 enum UpdateType { |
(...skipping 12 matching lines...) Expand all Loading... |
33 DomDistillerObserver() {} | 34 DomDistillerObserver() {} |
34 virtual ~DomDistillerObserver() {} | 35 virtual ~DomDistillerObserver() {} |
35 | 36 |
36 private: | 37 private: |
37 DISALLOW_COPY_AND_ASSIGN(DomDistillerObserver); | 38 DISALLOW_COPY_AND_ASSIGN(DomDistillerObserver); |
38 }; | 39 }; |
39 | 40 |
40 } // namespace dom_distiller | 41 } // namespace dom_distiller |
41 | 42 |
42 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_OBSERVER_H_ | 43 #endif // COMPONENTS_DOM_DISTILLER_CORE_DOM_DISTILLER_OBSERVER_H_ |
OLD | NEW |