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

Unified Diff: components/cast_channel/cast_socket.cc

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: components/cast_channel/cast_socket.cc
diff --git a/components/cast_channel/cast_socket.cc b/components/cast_channel/cast_socket.cc
index 3675874ec571c660cac2d6d4af0c0b6c629b0cb6..9c63e9617af437dd66bff78d85b2ad27d9fef087 100644
--- a/components/cast_channel/cast_socket.cc
+++ b/components/cast_channel/cast_socket.cc
@@ -89,16 +89,14 @@ using ChannelError = ::cast_channel::ChannelError;
using ChannelAuthType = ::cast_channel::ChannelAuthType;
using ReadyState = ::cast_channel::ReadyState;
-CastSocketImpl::CastSocketImpl(const std::string& owner_extension_id,
- const net::IPEndPoint& ip_endpoint,
+CastSocketImpl::CastSocketImpl(const net::IPEndPoint& ip_endpoint,
ChannelAuthType channel_auth,
net::NetLog* net_log,
const base::TimeDelta& timeout,
bool keep_alive,
const scoped_refptr<Logger>& logger,
uint64_t device_capabilities)
- : CastSocketImpl(owner_extension_id,
- ip_endpoint,
+ : CastSocketImpl(ip_endpoint,
channel_auth,
net_log,
timeout,
@@ -107,8 +105,7 @@ CastSocketImpl::CastSocketImpl(const std::string& owner_extension_id,
device_capabilities,
AuthContext::Create()) {}
-CastSocketImpl::CastSocketImpl(const std::string& owner_extension_id,
- const net::IPEndPoint& ip_endpoint,
+CastSocketImpl::CastSocketImpl(const net::IPEndPoint& ip_endpoint,
ChannelAuthType channel_auth,
net::NetLog* net_log,
const base::TimeDelta& timeout,

Powered by Google App Engine
This is Rietveld 408576698