| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_ |
| 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_ | 6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_ |
| 7 | 7 |
| 8 #include "components/cast_channel/cast_channel_enum.h" | 8 #include "components/cast_channel/cast_channel_enum.h" |
| 9 #include "extensions/common/api/cast_channel.h" | 9 #include "extensions/common/api/cast_channel.h" |
| 10 | 10 |
| 11 namespace extensions { | 11 namespace extensions { |
| 12 namespace api { | 12 namespace api { |
| 13 namespace cast_channel { | 13 namespace cast_channel { |
| 14 | 14 |
| 15 api::cast_channel::ReadyState ToReadyState( | 15 api::cast_channel::ReadyState ToReadyState( |
| 16 ::cast_channel::ReadyState ready_state); | 16 ::cast_channel::ReadyState ready_state); |
| 17 api::cast_channel::ChannelError ToChannelError( | 17 api::cast_channel::ChannelError ToChannelError( |
| 18 ::cast_channel::ChannelError channel_error); | 18 ::cast_channel::ChannelError channel_error); |
| 19 api::cast_channel::ChannelAuthType ToChannelAuthType( | |
| 20 ::cast_channel::ChannelAuthType channel_auth); | |
| 21 ::cast_channel::ChannelAuthType ToChannelAuthTypeInternal( | |
| 22 api::cast_channel::ChannelAuthType channel_auth); | |
| 23 | 19 |
| 24 } // namespace cast_channel | 20 } // namespace cast_channel |
| 25 } // namespace api | 21 } // namespace api |
| 26 } // namespace extensions | 22 } // namespace extensions |
| 27 | 23 |
| 28 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_ | 24 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_ |
| OLD | NEW |