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 "ash/common/cast_config_controller.h" | 5 #include "ash/cast_config_controller.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 namespace ash { | 10 namespace ash { |
11 | 11 |
12 CastConfigController::CastConfigController() {} | 12 CastConfigController::CastConfigController() {} |
13 | 13 |
14 CastConfigController::~CastConfigController() {} | 14 CastConfigController::~CastConfigController() {} |
15 | 15 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 if (client_) | 58 if (client_) |
59 client_->CastToSink(std::move(sink)); | 59 client_->CastToSink(std::move(sink)); |
60 } | 60 } |
61 | 61 |
62 void CastConfigController::StopCasting(ash::mojom::CastRoutePtr route) { | 62 void CastConfigController::StopCasting(ash::mojom::CastRoutePtr route) { |
63 if (client_) | 63 if (client_) |
64 client_->StopCasting(std::move(route)); | 64 client_->StopCasting(std::move(route)); |
65 } | 65 } |
66 | 66 |
67 } // namespace ash | 67 } // namespace ash |
OLD | NEW |