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

Unified Diff: components/domain_reliability/monitor.cc

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android 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
Index: components/domain_reliability/monitor.cc
diff --git a/components/domain_reliability/monitor.cc b/components/domain_reliability/monitor.cc
index b6337ef80cf1d83f78a2a37afe5ecb77e7cf6d2f..9e961c973fbacd5b356ac0c92dc8ebcd13c8183a 100644
--- a/components/domain_reliability/monitor.cc
+++ b/components/domain_reliability/monitor.cc
@@ -61,7 +61,7 @@ scoped_ptr<DomainReliabilityBeacon> CreateBeaconFromAttempt(
new DomainReliabilityBeacon(beacon_template));
beacon->status = status;
beacon->chrome_error = attempt.result;
- if (!attempt.endpoint.address().empty())
+ if (!attempt.endpoint.address_number().empty())
beacon->server_ip = attempt.endpoint.ToString();
else
beacon->server_ip = "";

Powered by Google App Engine
This is Rietveld 408576698