Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: components/dom_distiller/webui/dom_distiller_ui.h

Issue 105623002: Debug UI for DOM distiller supports distillation and lists articles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix strings and dependencies for ios Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/dom_distiller/webui/dom_distiller_ui.h
diff --git a/components/dom_distiller/webui/dom_distiller_ui.h b/components/dom_distiller/webui/dom_distiller_ui.h
index 1b9f1c2a2922fa63eb2a22b2f3bde60bfef7d7f9..12b14bf3bbbc878f986d0fd29924daa462ccac76 100644
--- a/components/dom_distiller/webui/dom_distiller_ui.h
+++ b/components/dom_distiller/webui/dom_distiller_ui.h
@@ -2,21 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_H_
-#define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_H_
+#ifndef COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_
+#define COMPONENTS_DOM_DISTILLER_WEBUI_DOM_DISTILLER_UI_H_
#include "content/public/browser/web_ui_controller.h"
namespace dom_distiller {
-// The WebUI handler for chrome://dom-distiller.
-class DomDistillerUI : public content::WebUIController {
+class DomDistillerService;
+
+// The WebUI controller for chrome://dom-distiller.
+class DomDistillerUi : public content::WebUIController {
public:
- explicit DomDistillerUI(content::WebUI* web_ui);
- virtual ~DomDistillerUI();
+ DomDistillerUi(content::WebUI* web_ui,
+ DomDistillerService* service,
+ const std::string& scheme);
+ virtual ~DomDistillerUi();
private:
- DISALLOW_COPY_AND_ASSIGN(DomDistillerUI);
+ DISALLOW_COPY_AND_ASSIGN(DomDistillerUi);
};
} // namespace dom_distiller
« no previous file with comments | « components/dom_distiller/webui/dom_distiller_handler.cc ('k') | components/dom_distiller/webui/dom_distiller_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698