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

Unified Diff: chromeos/dbus/shill_device_client.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: chromeos/dbus/shill_device_client.cc
diff --git a/chromeos/dbus/shill_device_client.cc b/chromeos/dbus/shill_device_client.cc
index 12be94df293fb7312ac793c1a0cbeda4d25f694d..b934aa0f97b0ce56c41583857bbc3026fd919c8d 100644
--- a/chromeos/dbus/shill_device_client.cc
+++ b/chromeos/dbus/shill_device_client.cc
@@ -211,7 +211,7 @@ class ShillDeviceClientImpl : public ShillDeviceClient {
const net::IPEndPoint& ip_endpoint,
const base::Closure& callback,
const ErrorCallback& error_callback) override {
- if (ip_endpoint.address().empty()) {
+ if (ip_endpoint.address_number().empty()) {
LOG(ERROR) << "AddWakeOnPacketConnection: null address";
return;
}
@@ -229,7 +229,7 @@ class ShillDeviceClientImpl : public ShillDeviceClient {
const net::IPEndPoint& ip_endpoint,
const base::Closure& callback,
const ErrorCallback& error_callback) override {
- if (ip_endpoint.address().empty()) {
+ if (ip_endpoint.address_number().empty()) {
LOG(ERROR) << "RemoveWakeOnPacketConnection: null address";
return;
}

Powered by Google App Engine
This is Rietveld 408576698