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

Unified Diff: components/cast_channel/cast_transport.h

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_test_util.h ('k') | components/cast_channel/cast_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_channel/cast_transport.h
diff --git a/components/cast_channel/cast_transport.h b/components/cast_channel/cast_transport.h
index bbb6158b14abc46b2486e2ef56c660ee39d04c60..efb12ad9da29bba0a0185f0e7a5357c9750a0d2c 100644
--- a/components/cast_channel/cast_transport.h
+++ b/components/cast_channel/cast_transport.h
@@ -71,7 +71,6 @@ class CastTransport {
// Manager class for reading and writing messages to/from a socket.
class CastTransportImpl : public CastTransport {
public:
- using ChannelAuthType = ::cast_channel::ChannelAuthType;
using ChannelError = ::cast_channel::ChannelError;
// Adds a CastMessage read/write layer to a socket.
@@ -83,7 +82,6 @@ class CastTransportImpl : public CastTransport {
CastTransportImpl(net::Socket* socket,
int channel_id,
const net::IPEndPoint& ip_endpoint_,
- ChannelAuthType channel_auth_,
scoped_refptr<Logger> logger);
~CastTransportImpl() override;
@@ -184,9 +182,6 @@ class CastTransportImpl : public CastTransport {
// IP address of the remote end.
const net::IPEndPoint ip_endpoint_;
- // Authentication level for the connection.
- ChannelAuthType channel_auth_;
-
// Accumulates details of events and errors, for debugging purposes.
scoped_refptr<Logger> logger_;
« no previous file with comments | « components/cast_channel/cast_test_util.h ('k') | components/cast_channel/cast_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698