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

Unified Diff: components/cast_channel/cast_transport.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.h ('k') | components/cast_channel/cast_transport_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cast_channel/cast_transport.cc
diff --git a/components/cast_channel/cast_transport.cc b/components/cast_channel/cast_transport.cc
index a47b10a4b633ecf58dc673c321869803968fac1f..ad71aaaa8596582156874db63425021c3020b2ac 100644
--- a/components/cast_channel/cast_transport.cc
+++ b/components/cast_channel/cast_transport.cc
@@ -24,17 +24,14 @@
#include "net/base/net_errors.h"
#include "net/socket/socket.h"
-#define VLOG_WITH_CONNECTION(level) \
- VLOG(level) << "[" << ip_endpoint_.ToString() << ", auth=" \
- << ::cast_channel::ChannelAuthTypeToString(channel_auth_) \
- << "] "
+#define VLOG_WITH_CONNECTION(level) \
+ VLOG(level) << "[" << ip_endpoint_.ToString() << ", auth=SSL_VERIFIED] "
namespace cast_channel {
CastTransportImpl::CastTransportImpl(net::Socket* socket,
int channel_id,
const net::IPEndPoint& ip_endpoint,
- ChannelAuthType channel_auth,
scoped_refptr<Logger> logger)
: started_(false),
socket_(socket),
@@ -43,7 +40,6 @@ CastTransportImpl::CastTransportImpl(net::Socket* socket,
error_state_(ChannelError::NONE),
channel_id_(channel_id),
ip_endpoint_(ip_endpoint),
- channel_auth_(channel_auth),
logger_(logger) {
DCHECK(socket);
« no previous file with comments | « components/cast_channel/cast_transport.h ('k') | components/cast_channel/cast_transport_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698