| Index: extensions/browser/api/cast_channel/cast_channel_api.h
|
| diff --git a/extensions/browser/api/cast_channel/cast_channel_api.h b/extensions/browser/api/cast_channel/cast_channel_api.h
|
| index 99bbb0220ebd709ee65a55bf758f2b7285b92e97..3e077119ba144f101b729c36a928aa3b2a5130d2 100644
|
| --- a/extensions/browser/api/cast_channel/cast_channel_api.h
|
| +++ b/extensions/browser/api/cast_channel/cast_channel_api.h
|
| @@ -98,12 +98,13 @@ class CastChannelAsyncApiFunction : public AsyncApiFunction {
|
| // manager.
|
| void RemoveSocket(int channel_id);
|
|
|
| - // Sets the function result to a ChannelInfo obtained from the state of the
|
| - // CastSocket corresponding to |channel_id|.
|
| - void SetResultFromSocket(int channel_id);
|
| + // Sets the function result to a ChannelInfo obtained from the state of
|
| + // |socket|.
|
| + void SetResultFromSocket(const cast_channel::CastSocket& socket);
|
|
|
| - // Sets the function result to a ChannelInfo with |error|.
|
| - void SetResultFromError(cast_channel::ChannelError error);
|
| + // Sets the function result to a ChannelInfo populated with |channel_id| and
|
| + // |error|.
|
| + void SetResultFromError(int channel_id, cast_channel::ChannelError error);
|
|
|
| // Returns the socket corresponding to |channel_id| if one exists, or null
|
| // otherwise.
|
|
|