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

Unified Diff: chrome/browser/ui/webui/downloads_ui_browsertest.cc

Issue 1710083005: Remove old downloads UI; Material Design version is now the default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove testing/ Created 4 years, 10 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/downloads_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/downloads_ui_browsertest.cc b/chrome/browser/ui/webui/downloads_ui_browsertest.cc
deleted file mode 100644
index 0caa51d7b02214d0c79609209da9ed41eb1c0d96..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/downloads_ui_browsertest.cc
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2013 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.
-
-#include "chrome/browser/ui/webui/downloads_ui_browsertest.h"
-
-#include "base/command_line.h"
-#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/webui/downloads_util.h"
-#include "chrome/common/chrome_switches.h"
-#include "chrome/common/pref_names.h"
-#include "components/prefs/pref_service.h"
-#include "content/public/test/test_utils.h"
-
-DownloadsUIBrowserTest::DownloadsUIBrowserTest() {}
-
-DownloadsUIBrowserTest::~DownloadsUIBrowserTest() {}
-
-void DownloadsUIBrowserTest::SetUpCommandLine(
- base::CommandLine* command_line) {
- WebUIBrowserTest::SetUpCommandLine(command_line);
- command_line->AppendSwitch(switches::kDisableMaterialDesignDownloads);
- ASSERT_FALSE(MdDownloadsEnabled());
-}
-
-void DownloadsUIBrowserTest::SetDeleteAllowed(bool allowed) {
- browser()->profile()->GetPrefs()->
- SetBoolean(prefs::kAllowDeletingBrowserHistory, allowed);
-}
« no previous file with comments | « chrome/browser/ui/webui/downloads_ui_browsertest.h ('k') | chrome/browser/ui/webui/downloads_ui_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698