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_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ |
6 #define COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ | 6 #define COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ |
7 | 7 |
| 8 #include <string> |
| 9 |
8 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
10 #include "content/public/browser/url_data_source.h" | 12 #include "content/public/browser/url_data_source.h" |
11 | 13 |
12 namespace dom_distiller { | 14 namespace dom_distiller { |
13 | 15 |
14 class DomDistillerService; | 16 class DomDistillerService; |
15 | 17 |
16 // Serves HTML and resources for viewing distilled articles. | 18 // Serves HTML and resources for viewing distilled articles. |
17 class DomDistillerViewerSource : public content::URLDataSource { | 19 class DomDistillerViewerSource : public content::URLDataSource { |
(...skipping 23 matching lines...) Expand all Loading... |
41 // The service which contains all the functionality needed to interact with | 43 // The service which contains all the functionality needed to interact with |
42 // the list of articles. | 44 // the list of articles. |
43 DomDistillerService* dom_distiller_service_; | 45 DomDistillerService* dom_distiller_service_; |
44 | 46 |
45 DISALLOW_COPY_AND_ASSIGN(DomDistillerViewerSource); | 47 DISALLOW_COPY_AND_ASSIGN(DomDistillerViewerSource); |
46 }; | 48 }; |
47 | 49 |
48 } // namespace dom_distiller | 50 } // namespace dom_distiller |
49 | 51 |
50 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ | 52 #endif // COMPONENTS_DOM_DISTILLER_CONTENT_DOM_DISTILLER_VIEWER_SOURCE_H_ |
OLD | NEW |