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

Unified Diff: chrome/browser/ui/webui/downloads_ui_browsertest.cc

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/downloads_ui_browsertest.cc
diff --git a/chrome/browser/ui/webui/downloads_ui_browsertest.cc b/chrome/browser/ui/webui/downloads_ui_browsertest.cc
index eafa4600f09e04cf1dbdbe27354db3b08d60f50d..d2850c983c58d233c35445f2ba9259e7c494b217 100644
--- a/chrome/browser/ui/webui/downloads_ui_browsertest.cc
+++ b/chrome/browser/ui/webui/downloads_ui_browsertest.cc
@@ -7,8 +7,6 @@
#include "base/command_line.h"
#include "base/prefs/pref_service.h"
#include "chrome/browser/profiles/profile.h"
-#include "chrome/browser/supervised_user/supervised_user_service.h"
-#include "chrome/browser/supervised_user/supervised_user_service_factory.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
@@ -23,7 +21,9 @@ void DownloadsUIBrowserTest::SetDeleteAllowed(bool allowed) {
SetBoolean(prefs::kAllowDeletingBrowserHistory, allowed);
}
+#if defined(ENABLE_MANAGED_USERS)
void DownloadsWebUIForSupervisedUsersTest::SetUpCommandLine(
CommandLine* command_line) {
command_line->AppendSwitchASCII(switches::kSupervisedUserId, "asdf");
}
+#endif

Powered by Google App Engine
This is Rietveld 408576698