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

Unified Diff: components/cast_channel/cast_transport_unittest.cc

Issue 2942743002: [cast_channel] Clean up CastSocketImpl ctor parameters (Closed)
Patch Set: fix compile error 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_transport.cc ('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_transport_unittest.cc
diff --git a/components/cast_channel/cast_transport_unittest.cc b/components/cast_channel/cast_transport_unittest.cc
index d8b494256c9fed342cdff6d6e678bf54bea0ea28..8f72615e2b58abc6a5a866f4fbb5247b4a7102f2 100644
--- a/components/cast_channel/cast_transport_unittest.cc
+++ b/components/cast_channel/cast_transport_unittest.cc
@@ -144,14 +144,10 @@ class MockSocket : public net::Socket {
class CastTransportTest : public testing::Test {
public:
- using ChannelError = ::cast_channel::ChannelError;
- using ChannelAuthType = ::cast_channel::ChannelAuthType;
-
CastTransportTest() : logger_(new Logger()) {
delegate_ = new MockCastTransportDelegate;
transport_.reset(new CastTransportImpl(&mock_socket_, kChannelId,
- CreateIPEndPointForTest(),
- auth_type_, logger_));
+ CreateIPEndPointForTest(), logger_));
transport_->SetReadDelegate(base::WrapUnique(delegate_));
}
~CastTransportTest() override {}
@@ -166,7 +162,6 @@ class CastTransportTest : public testing::Test {
base::MessageLoop message_loop_;
MockCastTransportDelegate* delegate_;
MockSocket mock_socket_;
- ChannelAuthType auth_type_;
Logger* logger_;
std::unique_ptr<CastTransport> transport_;
};
« no previous file with comments | « components/cast_channel/cast_transport.cc ('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