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

Unified Diff: components/cast_channel/cast_test_util.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_test_util.cc
diff --git a/components/cast_channel/cast_test_util.cc b/components/cast_channel/cast_test_util.cc
index 6ae2d0375f8b0968d731e1384bb957ed78e8a353..3f86d1fa724e01128186993ad78ecf7488f81dd6 100644
--- a/components/cast_channel/cast_test_util.cc
+++ b/components/cast_channel/cast_test_util.cc
@@ -26,7 +26,13 @@ void MockCastTransport::SetReadDelegate(
MockCastTransportDelegate::MockCastTransportDelegate() {}
MockCastTransportDelegate::~MockCastTransportDelegate() {}
-MockCastSocket::MockCastSocket() : mock_transport_(new MockCastTransport()) {}
+MockCastSocket::MockCastSocket()
+ : channel_id_(0),
+ channel_auth_(ChannelAuthType::NONE),
+ error_state_(ChannelError::NONE),
+ keep_alive_(false),
+ audio_only_(false),
+ mock_transport_(new MockCastTransport()) {}
MockCastSocket::~MockCastSocket() {}
net::IPEndPoint CreateIPEndPointForTest() {

Powered by Google App Engine
This is Rietveld 408576698