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

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

Issue 2891923004: [cast_channel] Make cast_channel related files not depend on "cast_channel.h" (Closed)
Patch Set: fix windows compile errors Created 3 years, 7 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_
6 #define EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_
7
8 #include "components/cast_channel/cast_channel_enum.h"
9 #include "extensions/common/api/cast_channel.h"
10
11 namespace extensions {
12 namespace api {
13 namespace cast_channel {
14
15 api::cast_channel::ReadyState ToReadyState(
16 ::cast_channel::ReadyState ready_state);
17 api::cast_channel::ChannelError ToChannelError(
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
24 } // namespace cast_channel
25 } // namespace api
26 } // namespace extensions
27
28 #endif // EXTENSIONS_BROWSER_API_CAST_CHANNEL_CAST_CHANNEL_TYPE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698