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

Side by Side Diff: chrome/browser/ui/webui/downloads_ui_browsertest.h

Issue 355233002: Fix build when ENABLE_MANAGED_USERS is not defined (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More bauerb Comments Created 6 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_ 6 #define CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_
7 7
8 #include "chrome/test/base/web_ui_browser_test.h" 8 #include "chrome/test/base/web_ui_browser_test.h"
9 9
10 // This is a helper class used by downloads_ui_browsertest.js. 10 // This is a helper class used by downloads_ui_browsertest.js.
11 class DownloadsUIBrowserTest : public WebUIBrowserTest { 11 class DownloadsUIBrowserTest : public WebUIBrowserTest {
12 public: 12 public:
13 DownloadsUIBrowserTest(); 13 DownloadsUIBrowserTest();
14 virtual ~DownloadsUIBrowserTest(); 14 virtual ~DownloadsUIBrowserTest();
15 15
16 protected: 16 protected:
17 // Sets the pref to allow or prohibit deleting history entries. 17 // Sets the pref to allow or prohibit deleting history entries.
18 void SetDeleteAllowed(bool allowed); 18 void SetDeleteAllowed(bool allowed);
19 19
20 private: 20 private:
21 DISALLOW_COPY_AND_ASSIGN(DownloadsUIBrowserTest); 21 DISALLOW_COPY_AND_ASSIGN(DownloadsUIBrowserTest);
22 }; 22 };
23 23
24 #if defined(ENABLE_MANAGED_USERS)
24 class DownloadsWebUIForSupervisedUsersTest : public DownloadsUIBrowserTest { 25 class DownloadsWebUIForSupervisedUsersTest : public DownloadsUIBrowserTest {
James Hawkins 2014/08/05 08:50:48 I believe we can pull this out into a separate tes
mckev 2014/08/25 20:28:47 Done.
25 public: 26 public:
26 // InProcessBrowserTest overrides: 27 // InProcessBrowserTest overrides:
27 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE; 28 virtual void SetUpCommandLine(base::CommandLine* command_line) OVERRIDE;
28 }; 29 };
30 #endif // defined(ENABLE_MANAGED_USERS)
29 31
30 #endif // CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_ 32 #endif // CHROME_BROWSER_UI_WEBUI_DOWNLOADS_UI_BROWSERTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698