| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_ | |
| 6 #define CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "chrome/test/base/web_ui_browser_test.h" | |
| 10 | |
| 11 // This is a helper class used by downloads_ui_browsertest.js. | |
| 12 class DownloadsUIBrowserTest : public WebUIBrowserTest { | |
| 13 public: | |
| 14 DownloadsUIBrowserTest(); | |
| 15 ~DownloadsUIBrowserTest() override; | |
| 16 | |
| 17 // WebUIBrowserTest: | |
| 18 void SetUpCommandLine(base::CommandLine* command_line) override; | |
| 19 | |
| 20 protected: | |
| 21 // Sets the pref to allow or prohibit deleting history entries. | |
| 22 void SetDeleteAllowed(bool allowed); | |
| 23 | |
| 24 private: | |
| 25 DISALLOW_COPY_AND_ASSIGN(DownloadsUIBrowserTest); | |
| 26 }; | |
| 27 | |
| 28 #endif // CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_ | |
| OLD | NEW |