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_WEBUI_DOM_DISTILLER_UI_H_ | 5 #ifndef COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_ |
6 #define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_ | 6 #define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "content/public/browser/web_ui_controller.h" | 11 #include "content/public/browser/web_ui_controller.h" |
11 | 12 |
12 namespace dom_distiller { | 13 namespace dom_distiller { |
13 | 14 |
14 class DomDistillerService; | 15 class DomDistillerService; |
15 | 16 |
16 // The WebUI controller for chrome://dom-distiller. | 17 // The WebUI controller for chrome://dom-distiller. |
17 class DomDistillerUi : public content::WebUIController { | 18 class DomDistillerUi : public content::WebUIController { |
18 public: | 19 public: |
19 DomDistillerUi(content::WebUI* web_ui, | 20 DomDistillerUi(content::WebUI* web_ui, |
20 DomDistillerService* service, | 21 DomDistillerService* service, |
21 const std::string& scheme); | 22 const std::string& scheme); |
22 ~DomDistillerUi() override; | 23 ~DomDistillerUi() override; |
23 | 24 |
24 private: | 25 private: |
25 DISALLOW_COPY_AND_ASSIGN(DomDistillerUi); | 26 DISALLOW_COPY_AND_ASSIGN(DomDistillerUi); |
26 }; | 27 }; |
27 | 28 |
28 } // namespace dom_distiller | 29 } // namespace dom_distiller |
29 | 30 |
30 #endif // COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_ | 31 #endif // COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_ |
OLD | NEW |