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

Unified Diff: extensions/browser/api/cast_channel/logger.cc

Issue 2559283003: remove CHANNEL_AUTH_TYPE_SSL from ChannelAuthType (Closed)
Patch Set: Fixing browser api tests + rebase Created 4 years 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 | « extensions/browser/api/cast_channel/cast_socket_unittest.cc ('k') | extensions/common/api/cast_channel.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/cast_channel/logger.cc
diff --git a/extensions/browser/api/cast_channel/logger.cc b/extensions/browser/api/cast_channel/logger.cc
index eff4c8a2699384d68459aa51576b575ce8a46428..1a330088f00a95a0e71d9c461b6210b37b7411aa 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/extensions/browser/api/cast_channel/logger.cc
@@ -157,10 +157,7 @@ void Logger::LogNewSocketEvent(const CastSocket& cast_socket) {
const net::IPAddress& ip = cast_socket.ip_endpoint().address();
DCHECK(ip.IsValid());
aggregated_socket_event.set_endpoint_id(ip.bytes().back());
- aggregated_socket_event.set_channel_auth_type(cast_socket.channel_auth() ==
- CHANNEL_AUTH_TYPE_SSL
- ? proto::SSL
- : proto::SSL_VERIFIED);
+ aggregated_socket_event.set_channel_auth_type(proto::SSL_VERIFIED);
}
void Logger::LogSocketEvent(int channel_id, EventType event_type) {
« no previous file with comments | « extensions/browser/api/cast_channel/cast_socket_unittest.cc ('k') | extensions/common/api/cast_channel.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698