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

Unified Diff: chrome/browser/ui/webui/downloads_ui_supervised_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: Include missing browsertest .js file in chrome_tests.gypi Created 6 years, 3 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_supervised_browsertest.cc
diff --git a/chrome/browser/ui/webui/downloads_ui_supervised_browsertest.cc b/chrome/browser/ui/webui/downloads_ui_supervised_browsertest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..52d7f2753fb532a1f201feaf8f4ceb746da4045b
--- /dev/null
+++ b/chrome/browser/ui/webui/downloads_ui_supervised_browsertest.cc
@@ -0,0 +1,15 @@
+// Copyright 2014 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.
+
+#include "chrome/browser/ui/webui/downloads_ui_supervised_browsertest.h"
+
+#include "base/command_line.h"
+#include "chrome/browser/ui/browser.h"
+#include "chrome/common/chrome_switches.h"
+#include "content/public/test/test_utils.h"
+
+void DownloadsWebUIForSupervisedUsersTest::SetUpCommandLine(
+ CommandLine* command_line) {
+ command_line->AppendSwitchASCII(switches::kSupervisedUserId, "asdf");
+}

Powered by Google App Engine
This is Rietveld 408576698