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

Unified Diff: chrome/browser/ui/webui/active_downloads_ui.h

Issue 9668039: Move active_downloads_ui.* to chrome/browser/ui/webui/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 9 months 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/active_downloads_ui.h
diff --git a/chrome/browser/ui/webui/active_downloads_ui.h b/chrome/browser/ui/webui/active_downloads_ui.h
deleted file mode 100644
index a925eca5dd591ca9e71fcb0ff3be378b08636ee2..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/active_downloads_ui.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_UI_WEBUI_ACTIVE_DOWNLOADS_UI_H_
-#define CHROME_BROWSER_UI_WEBUI_ACTIVE_DOWNLOADS_UI_H_
-#pragma once
-
-#include <string>
-#include <vector>
-
-#include "chrome/browser/history/history.h"
-#include "chrome/browser/ui/webui/chrome_url_data_manager.h"
-#include "chrome/browser/ui/webui/html_dialog_ui.h"
-#include "net/base/directory_lister.h"
-
-class ActiveDownloadsHandler;
-class Browser;
-class Profile;
-
-namespace content {
-class DownloadItem;
-}
-
-class ActiveDownloadsUI : public HtmlDialogUI {
- public:
- explicit ActiveDownloadsUI(content::WebUI* web_ui);
-
- static bool ShouldShowPopup(Profile* profile,
- content::DownloadItem* download);
- static Browser* OpenPopup(Profile* profile);
- static Browser* GetPopup();
-
- // For testing.
- typedef std::vector<content::DownloadItem*> DownloadList;
- const DownloadList& GetDownloads() const;
-
- private:
- ActiveDownloadsHandler* handler_;
-
- DISALLOW_COPY_AND_ASSIGN(ActiveDownloadsUI);
-};
-
-#endif // CHROME_BROWSER_UI_WEBUI_ACTIVE_DOWNLOADS_UI_H_

Powered by Google App Engine
This is Rietveld 408576698