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

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

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase for ChromeOS Created 4 years, 11 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 | « device/bluetooth/bluetooth_socket_win.cc ('k') | media/cast/net/udp_transport.cc » ('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 39077f40fc340f5a0f562c33a444c428506ea860..ba187da8772721b1c3e6cb972e503066d842ade9 100644
--- a/extensions/browser/api/cast_channel/logger.cc
+++ b/extensions/browser/api/cast_channel/logger.cc
@@ -144,7 +144,7 @@ void Logger::LogNewSocketEvent(const CastSocket& cast_socket) {
AggregatedSocketEvent& aggregated_socket_event =
LogSocketEvent(cast_socket.id(), event);
- const net::IPAddressNumber& ip = cast_socket.ip_endpoint().address();
+ const net::IPAddressNumber& ip = cast_socket.ip_endpoint().address().bytes();
aggregated_socket_event.set_endpoint_id(ip.back());
aggregated_socket_event.set_channel_auth_type(cast_socket.channel_auth() ==
CHANNEL_AUTH_TYPE_SSL
« no previous file with comments | « device/bluetooth/bluetooth_socket_win.cc ('k') | media/cast/net/udp_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698