Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / webui / downloads_ui_browsertest.h
blobd38ee1e9cbd7d43f08018233c82f8f090e2479bc
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_browsertest.h"
10 // This is a helper class used by downloads_ui_browsertest.js.
11 class DownloadsUIBrowserTest : public WebUIBrowserTest {
12 public:
13 DownloadsUIBrowserTest();
14 virtual ~DownloadsUIBrowserTest();
16 protected:
17 // Sets the pref to allow or prohibit deleting history entries.
18 void SetDeleteAllowed(bool allowed);
20 private:
21 DISALLOW_COPY_AND_ASSIGN(DownloadsUIBrowserTest);
24 class DownloadsWebUIForSupervisedUsersTest : public DownloadsUIBrowserTest {
25 public:
26 // InProcessBrowserTest overrides:
27 virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
30 #endif // CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_