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

Side by Side Diff: chrome/browser/ui/webui/media_router/media_router_web_ui_test.h

Issue 2410553002: Show Media Router toolbar icon ephemerally for MR dialogs (Closed)
Patch Set: DISALLOW_COPY_AND_ASSIGN MockMediaRouterActionController Created 4 years, 1 month 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
(Empty)
1 // Copyright 2016 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.
4
5 #ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEB_UI_TEST_H_
6 #define CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEB_UI_TEST_H_
7
8 #include "chrome/test/base/browser_with_test_window_test.h"
9
10 class MediaRouterWebUITest : public BrowserWithTestWindowTest {
11 public:
12 // |require_mock_ui_service_| defaults to false in the default ctor.
13 MediaRouterWebUITest();
14 explicit MediaRouterWebUITest(bool require_mock_ui_service);
15 ~MediaRouterWebUITest() override;
16
17 protected:
18 // BrowserWithTestWindowTest:
19 TestingProfile* CreateProfile() override;
20 BrowserWindow* CreateBrowserWindow() override;
21
22 private:
23 // When this is set to true, MockMediaRouterUIService is instantiated.
24 // Otherwise, no MediaRouterUIService is instantiated.
25 bool require_mock_ui_service_;
26
27 DISALLOW_COPY_AND_ASSIGN(MediaRouterWebUITest);
28 };
29
30 #endif // CHROME_BROWSER_UI_WEBUI_MEDIA_ROUTER_MEDIA_ROUTER_WEB_UI_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698