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

Unified Diff: chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.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: chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc
diff --git a/chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc b/chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc
index c18a11bc49bbafc7917903f6a9ddf4edf95111af..45320e3a730e170d94bc5df7a76cc8904bebde29 100644
--- a/chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc
+++ b/chrome/browser/printing/cloud_print/privet_http_asynchronous_factory_impl.cc
@@ -57,7 +57,7 @@ void PrivetHTTPAsynchronousFactoryImpl::ResolutionImpl::Start(
void PrivetHTTPAsynchronousFactoryImpl::ResolutionImpl::ResolveComplete(
const ResultCallback& callback,
const net::IPEndPoint& endpoint) {
- if (endpoint.address().empty())
+ if (endpoint.address_number().empty())
return callback.Run(scoped_ptr<PrivetHTTPClient>());
net::HostPortPair new_address = net::HostPortPair::FromIPEndPoint(endpoint);

Powered by Google App Engine
This is Rietveld 408576698