| 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 2cb56a6ea538d35accf0e6dfdb705d0fa2f69bec..0ca4e3911b52c89d169bc87a0d9f00a37a6696e9 100644
|
| --- a/extensions/browser/api/cast_channel/cast_socket.h
|
| +++ b/extensions/browser/api/cast_channel/cast_socket.h
|
| @@ -76,6 +76,10 @@ class CastSocket : public ApiResource {
|
| // Sets the channel id generated by ApiResourceManager.
|
| virtual void set_id(int id) = 0;
|
|
|
| + // Sets whether this socket is for a channel to a device claiming a video out
|
| + // capability.
|
| + virtual void set_has_video_out(bool has_video_out) = 0;
|
| +
|
| // The authentication level requested for the channel.
|
| virtual ChannelAuthType channel_auth() const = 0;
|
|
|
| @@ -138,6 +142,7 @@ class CastSocketImpl : public CastSocket {
|
| const net::IPEndPoint& ip_endpoint() const override;
|
| int id() const override;
|
| void set_id(int channel_id) override;
|
| + void set_has_video_out(bool has_video_out) override;
|
| ChannelAuthType channel_auth() const override;
|
| std::string cast_url() const override;
|
| ReadyState ready_state() const override;
|
| @@ -294,6 +299,10 @@ class CastSocketImpl : public CastSocket {
|
| // canceled.
|
| bool is_canceled_;
|
|
|
| + // Whether this socket is for a channel to a device claiming a video out
|
| + // capability.
|
| + bool has_video_out_;
|
| +
|
| // Connection flow state machine state.
|
| proto::ConnectionState connect_state_;
|
|
|
|
|