Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 #include "chrome/browser/ui/webui/media_router/media_router_test.h" | 5 #include "chrome/browser/ui/webui/media_router/media_router_test.h" |
| 6 | 6 |
| 7 #include "chrome/test/base/dialog_test_browser_window.h" | 7 #include "chrome/test/base/dialog_test_browser_window.h" |
| 8 | 8 |
| 9 MediaRouterTest::MediaRouterTest() | 9 MediaRouterTest::MediaRouterTest() {} |
| 10 : feature_override_(extensions::FeatureSwitch::media_router(), true) {} | |
| 11 | 10 |
| 12 MediaRouterTest::~MediaRouterTest() { | 11 MediaRouterTest::~MediaRouterTest() { |
|
msw
2016/10/27 18:14:31
optional nit: {} formatting
mark a. foltz
2016/10/27 20:16:50
Done.
| |
| 13 } | 12 } |
| 14 | 13 |
| 15 BrowserWindow* MediaRouterTest::CreateBrowserWindow() { | 14 BrowserWindow* MediaRouterTest::CreateBrowserWindow() { |
| 16 return new DialogTestBrowserWindow; | 15 return new DialogTestBrowserWindow; |
|
msw
2016/10/27 18:14:31
aside: I wonder if we still need MediaRouterTest t
mark a. foltz
2016/10/27 20:16:50
It looks like BrowserWithTestWindowTest calls this
| |
| 17 } | 16 } |
| OLD | NEW |