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

Unified Diff: chrome/browser/local_discovery/privet_traffic_detector.cc

Issue 538243003: proposed interface change at //net for webrtc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split address_tracker_linux into a different CL. Created 6 years, 3 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/local_discovery/privet_traffic_detector.cc
diff --git a/chrome/browser/local_discovery/privet_traffic_detector.cc b/chrome/browser/local_discovery/privet_traffic_detector.cc
index fb470165b15b044f689db9204442e6b5e8f39ca2..7e84f25dfa9bb317d53b4a42e7878a7031bbe890 100644
--- a/chrome/browser/local_discovery/privet_traffic_detector.cc
+++ b/chrome/browser/local_discovery/privet_traffic_detector.cc
@@ -40,9 +40,13 @@ void GetNetworkListOnFileThread(
net::IPAddressNumber localhost_prefix(4, 0);
localhost_prefix[0] = 127;
ip4_networks.push_back(
- net::NetworkInterface("lo", "lo", 0,
+ net::NetworkInterface("lo",
+ "lo",
+ 0,
net::NetworkChangeNotifier::CONNECTION_UNKNOWN,
- localhost_prefix, 8));
+ localhost_prefix,
+ 8,
+ net::IP_ADDRESS_ATTRIBUTE_NONE));
content::BrowserThread::PostTask(content::BrowserThread::IO, FROM_HERE,
base::Bind(callback, ip4_networks));
}

Powered by Google App Engine
This is Rietveld 408576698