Add new certificateProvider extension API.
[chromium-blink-merge.git] / chrome / browser / ui / webui / downloads_ui_browsertest.h
blobef39dd45770e9467f95648d7058198f3f3eb9530
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.
5 #ifndef CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_
8 #include "chrome/test/base/web_ui_browser_test.h"
10 // This is a helper class used by downloads_ui_browsertest.js.
11 class DownloadsUIBrowserTest : public WebUIBrowserTest {
12 public:
13 DownloadsUIBrowserTest();
14 ~DownloadsUIBrowserTest() override;
16 // WebUIBrowserTest:
17 void SetUpCommandLine(base::CommandLine* command_line) override;
19 protected:
20 // Sets the pref to allow or prohibit deleting history entries.
21 void SetDeleteAllowed(bool allowed);
23 private:
24 DISALLOW_COPY_AND_ASSIGN(DownloadsUIBrowserTest);
27 #endif // CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_