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

Unified Diff: components/cast_channel/cast_test_util.cc

Issue 2925053005: [cast_channel] Implement CastSocketService::OpenSocket() (Closed)
Patch Set: move |logger_| from cast_channel_api to cast_socket_service 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
« no previous file with comments | « components/cast_channel/cast_test_util.h ('k') | extensions/browser/api/cast_channel/cast_channel_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 76c5640b9c07d20bf5a18216c672c5b18c340a02..36efe1182b8b9e47fe9c8b40f1170a9c718bb7a3 100644
--- a/components/cast_channel/cast_test_util.cc
+++ b/components/cast_channel/cast_test_util.cc
@@ -29,7 +29,12 @@ MockCastTransportDelegate::~MockCastTransportDelegate() {}
MockCastSocketObserver::MockCastSocketObserver() {}
MockCastSocketObserver::~MockCastSocketObserver() {}
-MockCastSocket::MockCastSocket() : mock_transport_(new MockCastTransport()) {}
+MockCastSocket::MockCastSocket()
+ : channel_id_(0),
+ error_state_(ChannelError::NONE),
+ keep_alive_(false),
+ audio_only_(false),
+ mock_transport_(new MockCastTransport()) {}
MockCastSocket::~MockCastSocket() {}
net::IPEndPoint CreateIPEndPointForTest() {
« no previous file with comments | « components/cast_channel/cast_test_util.h ('k') | extensions/browser/api/cast_channel/cast_channel_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698