| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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/toolbar/mock_media_router_action_controller.h" | 5 #include "chrome/browser/ui/toolbar/mock_media_router_action_controller.h" |
| 6 | 6 |
| 7 #include "chrome/browser/media/router/media_router_factory.h" | 7 #include "chrome/browser/media/router/media_router_factory.h" |
| 8 | 8 |
| 9 MockMediaRouterActionController::MockMediaRouterActionController( | 9 MockMediaRouterActionController::MockMediaRouterActionController( |
| 10 Profile* profile) | 10 Profile* profile) |
| 11 : MediaRouterActionController( | 11 : MediaRouterActionController( |
| 12 profile, | 12 profile, |
| 13 media_router::MediaRouterFactory::GetApiForBrowserContext(profile), | 13 media_router::MediaRouterFactory::GetApiForBrowserContext(profile), |
| 14 nullptr, | |
| 15 nullptr) {} | 14 nullptr) {} |
| 16 MockMediaRouterActionController::~MockMediaRouterActionController() {} | 15 MockMediaRouterActionController::~MockMediaRouterActionController() {} |
| OLD | NEW |