| Index: extensions/browser/api/cast_channel/cast_socket.h
|
| diff --git a/extensions/browser/api/cast_channel/cast_socket.h b/extensions/browser/api/cast_channel/cast_socket.h
|
| index cfff93f301621f94a7afb7b4ac455d72e5048abf..6f25d8f6791da630779c76189afc833c2dadc6bd 100644
|
| --- a/extensions/browser/api/cast_channel/cast_socket.h
|
| +++ b/extensions/browser/api/cast_channel/cast_socket.h
|
| @@ -16,12 +16,12 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/threading/thread_checker.h"
|
| #include "base/timer/timer.h"
|
| +#include "components/cast_channel/cast_channel_type.h"
|
| #include "extensions/browser/api/api_resource.h"
|
| #include "extensions/browser/api/api_resource_manager.h"
|
| #include "extensions/browser/api/cast_channel/cast_auth_util.h"
|
| #include "extensions/browser/api/cast_channel/cast_socket.h"
|
| #include "extensions/browser/api/cast_channel/cast_transport.h"
|
| -#include "extensions/common/api/cast_channel.h"
|
| #include "extensions/common/api/cast_channel/logging.pb.h"
|
| #include "net/base/completion_callback.h"
|
| #include "net/base/io_buffer.h"
|
| @@ -60,6 +60,10 @@ enum CastDeviceCapability {
|
| // Public interface of the CastSocket class.
|
| class CastSocket : public ApiResource {
|
| public:
|
| + using ChannelError = ::cast_channel::ChannelError;
|
| + using ChannelAuthType = ::cast_channel::ChannelAuthType;
|
| + using ReadyState = ::cast_channel::ReadyState;
|
| +
|
| explicit CastSocket(const std::string& owner_extension_id);
|
| ~CastSocket() override {}
|
|
|
|
|