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

Unified Diff: chrome/browser/download/save_page_browsertest.cc

Issue 8678015: Touch constants and dead code removal. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied Sadrul's comments Created 9 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/download/save_page_browsertest.cc
diff --git a/chrome/browser/download/save_page_browsertest.cc b/chrome/browser/download/save_page_browsertest.cc
index 8b66340a212c706bffe5e54d7b80dccbcc96c2ec..25c05ebecb801704ae735374adb205308577edc8 100644
--- a/chrome/browser/download/save_page_browsertest.cc
+++ b/chrome/browser/download/save_page_browsertest.cc
@@ -89,15 +89,7 @@ class SavePageBrowserTest : public InProcessBrowserTest {
GetOriginalUrl();
}
-#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
- const ActiveDownloadsUI::DownloadList& GetDownloads() const {
- TabContents* download_contents = ActiveDownloadsUI::GetPopup(NULL);
- ActiveDownloadsUI* downloads_ui = static_cast<ActiveDownloadsUI*>(
- download_contents->web_ui());
- EXPECT_TRUE(downloads_ui);
- return downloads_ui->GetDownloads();
- }
-#elif defined(OS_CHROMEOS) && !defined(USE_AURA)
+#if defined(OS_CHROMEOS) && !defined(USE_AURA)
const ActiveDownloadsUI::DownloadList& GetDownloads() const {
Browser* popup = ActiveDownloadsUI::GetPopup();
EXPECT_TRUE(popup);

Powered by Google App Engine
This is Rietveld 408576698