Don't show supervised user as "already on this device" while they're being imported.
[chromium-blink-merge.git] / chrome / browser / ui / webui / media_router / media_router_test.cc
blob2ed8e5387acd945bd6cf1412b902c8ad2509f193
1 // Copyright 2015 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 #include "chrome/browser/ui/webui/media_router/media_router_test.h"
7 #include "base/command_line.h"
8 #include "chrome/common/chrome_switches.h"
9 #include "chrome/test/base/dialog_test_browser_window.h"
11 MediaRouterTest::MediaRouterTest() {
14 MediaRouterTest::~MediaRouterTest() {
17 void MediaRouterTest::SetUp() {
18 BrowserWithTestWindowTest::SetUp();
19 base::CommandLine::ForCurrentProcess()->AppendSwitch(
20 switches::kEnableMediaRouter);
23 BrowserWindow* MediaRouterTest::CreateBrowserWindow() {
24 return new DialogTestBrowserWindow;