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

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

Issue 2942743002: [cast_channel] Clean up CastSocketImpl ctor parameters (Closed)
Patch Set: 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.cc
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.cc b/extensions/browser/api/cast_channel/cast_channel_api.cc
index b769c3954ecbd169076a81e85e4f2ff9447ec5a6..6454b8c592a8553f8b9be7ea2d7267688b840638 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.cc
+++ b/extensions/browser/api/cast_channel/cast_channel_api.cc
@@ -294,8 +294,7 @@ void CastChannelOpenFunction::AsyncWorkStart() {
socket = test_socket.release();
} else {
socket = new CastSocketImpl(
- extension_->id(), *ip_endpoint_, channel_auth_,
- ExtensionsBrowserClient::Get()->GetNetLog(),
+ *ip_endpoint_, ExtensionsBrowserClient::Get()->GetNetLog(),
base::TimeDelta::FromMilliseconds(connect_info.timeout.get()
? *connect_info.timeout
: kDefaultConnectTimeoutMillis),
« components/cast_channel/cast_socket.cc ('K') | « components/cast_channel/cast_socket_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698