| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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_ARTICLE_DISTILLATION_UPDATE_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_CORE_ARTICLE_DISTILLATION_UPDATE_H_ |
| 6 #define COMPONENTS_DOM_DISTILLER_CORE_ARTICLE_DISTILLATION_UPDATE_H_ | 6 #define COMPONENTS_DOM_DISTILLER_CORE_ARTICLE_DISTILLATION_UPDATE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 |
| 8 #include <vector> | 10 #include <vector> |
| 9 | 11 |
| 10 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 11 #include "components/dom_distiller/core/proto/distilled_page.pb.h" | 13 #include "components/dom_distiller/core/proto/distilled_page.pb.h" |
| 12 | 14 |
| 13 namespace dom_distiller { | 15 namespace dom_distiller { |
| 14 | 16 |
| 15 // Update about an article that is currently under distillation. | 17 // Update about an article that is currently under distillation. |
| 16 class ArticleDistillationUpdate { | 18 class ArticleDistillationUpdate { |
| 17 public: | 19 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 42 private: | 44 private: |
| 43 bool has_next_page_; | 45 bool has_next_page_; |
| 44 bool has_prev_page_; | 46 bool has_prev_page_; |
| 45 // Currently available pages. | 47 // Currently available pages. |
| 46 std::vector<scoped_refptr<RefCountedPageProto> > pages_; | 48 std::vector<scoped_refptr<RefCountedPageProto> > pages_; |
| 47 }; | 49 }; |
| 48 | 50 |
| 49 } // namespace dom_distiller | 51 } // namespace dom_distiller |
| 50 | 52 |
| 51 #endif // COMPONENTS_DOM_DISTILLER_CORE_ARTICLE_DISTILLATION_UPDATE_H_ | 53 #endif // COMPONENTS_DOM_DISTILLER_CORE_ARTICLE_DISTILLATION_UPDATE_H_ |
| OLD | NEW |