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

Side by Side Diff: extensions/browser/api/cast_channel/cast_channel_enum_util.h

Issue 2942743002: [cast_channel] Clean up CastSocketImpl ctor parameters (Closed)
Patch Set: fix compile error Created 3 years, 6 months 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698