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

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

Issue 231973003: Adding network interface type param to net::NetworkInterface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « chrome/browser/extensions/api/dial/dial_service_unittest.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5b41342ed28a27ad8c7becf70eba58af4414bc98..c6a56c6b4b3a1a42a3247e1d844488b03504ef22 100644
--- a/chrome/browser/local_discovery/privet_traffic_detector.cc
+++ b/chrome/browser/local_discovery/privet_traffic_detector.cc
@@ -40,7 +40,8 @@ void GetNetworkListOnFileThread(
net::IPAddressNumber localhost_prefix(4, 0);
localhost_prefix[0] = 127;
ip4_networks.push_back(
- net::NetworkInterface("lo", "lo", 0, localhost_prefix, 8));
+ net::NetworkInterface("lo", "lo", 0, net::NETWORK_INTERFACE_UNKNOWN,
+ localhost_prefix, 8));
content::BrowserThread::PostTask(content::BrowserThread::IO, FROM_HERE,
base::Bind(callback, ip4_networks));
}
« no previous file with comments | « chrome/browser/extensions/api/dial/dial_service_unittest.cc ('k') | net/base/net_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698