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

Unified Diff: chrome/browser/ui/webui/md_downloads/md_downloads_ui.h

Issue 1480263002: Revert of MD Downloads: track downloads in C++, dispatch discrete JS updates (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: chrome/browser/ui/webui/md_downloads/md_downloads_ui.h
diff --git a/chrome/browser/ui/webui/md_downloads/md_downloads_ui.h b/chrome/browser/ui/webui/md_downloads/md_downloads_ui.h
index 55d21e1dedcedc8cf5c7c831fef367f179ea962c..37ce107a7b30abfdb1058325231e722311e977ce 100644
--- a/chrome/browser/ui/webui/md_downloads/md_downloads_ui.h
+++ b/chrome/browser/ui/webui/md_downloads/md_downloads_ui.h
@@ -13,12 +13,6 @@
class RefCountedMemory;
}
-namespace content {
-class RenderViewHost;
-}
-
-class MdDownloadsDOMHandler;
-
class MdDownloadsUI : public content::WebUIController {
public:
explicit MdDownloadsUI(content::WebUI* web_ui);
@@ -26,12 +20,7 @@
static base::RefCountedMemory* GetFaviconResourceBytes(
ui::ScaleFactor scale_factor);
- // content::WebUIController:
- void RenderViewReused(content::RenderViewHost* render_view_host) override;
-
private:
- MdDownloadsDOMHandler* handler_; // Weak.
-
DISALLOW_COPY_AND_ASSIGN(MdDownloadsUI);
};

Powered by Google App Engine
This is Rietveld 408576698