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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_api.h

Issue 2925053005: [cast_channel] Implement CastSocketService::OpenSocket() (Closed)
Patch Set: implement CastSocketService::OpenSocket() 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 side-by-side diff with in-line comments
Download patch
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 0a50bb8b7fad054a157dcb67f4e12ac95fb399f3..8bb0158a2e96446fc5d7e6167c070481a6fd1212 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.h
+++ b/extensions/browser/api/cast_channel/cast_channel_api.h
@@ -174,11 +174,9 @@ class CastChannelOpenFunction : public CastChannelAsyncApiFunction {
static net::IPEndPoint* ParseConnectInfo(
const api::cast_channel::ConnectInfo& connect_info);
- void OnOpen(cast_channel::ChannelError result);
+ void OnOpen(int channel_id, cast_channel::ChannelError result);
std::unique_ptr<api::cast_channel::Open::Params> params_;
- // The id of the newly opened socket.
- int new_channel_id_;
CastChannelAPI* api_;
std::unique_ptr<net::IPEndPoint> ip_endpoint_;
cast_channel::ChannelAuthType channel_auth_;

Powered by Google App Engine
This is Rietveld 408576698