blob: d38ee1e9cbd7d43f08018233c82f8f090e2479bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
// 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.
#ifndef CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_
#define CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_
#include "chrome/test/base/web_ui_browsertest.h"
// This is a helper class used by downloads_ui_browsertest.js.
class DownloadsUIBrowserTest : public WebUIBrowserTest {
public:
DownloadsUIBrowserTest();
virtual ~DownloadsUIBrowserTest();
protected:
// Sets the pref to allow or prohibit deleting history entries.
void SetDeleteAllowed(bool allowed);
private:
DISALLOW_COPY_AND_ASSIGN(DownloadsUIBrowserTest);
};
class DownloadsWebUIForSupervisedUsersTest : public DownloadsUIBrowserTest {
public:
// InProcessBrowserTest overrides:
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
};
#endif // CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_
|