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

Unified Diff: chrome/browser/extensions/api/dial/dial_service_unittest.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
« no previous file with comments | « no previous file | chrome/browser/local_discovery/privet_traffic_detector.cc » ('j') | net/base/net_util.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/dial/dial_service_unittest.cc
diff --git a/chrome/browser/extensions/api/dial/dial_service_unittest.cc b/chrome/browser/extensions/api/dial/dial_service_unittest.cc
index 699e631a6d59924698181a9ad7e2d585bdcfcd77..d83576bfd274b55894964dcc39ac9dd22d17301b 100644
--- a/chrome/browser/extensions/api/dial/dial_service_unittest.cc
+++ b/chrome/browser/extensions/api/dial/dial_service_unittest.cc
@@ -83,24 +83,40 @@ TEST_F(DialServiceTest, TestMultipleNetworkInterfaces) {
dial_service_.discovery_active_ = true;
net::NetworkInterfaceList interface_list;
interface_list.push_back(
- net::NetworkInterface("network1", "network1", 0,
+ net::NetworkInterface("network1",
+ "network1",
+ 0,
net::NetworkChangeNotifier::CONNECTION_UNKNOWN,
- mock_ip_, 0));
+ mock_ip_,
+ 0,
+ net::IP_ADDRESS_ATTRIBUTE_NONE));
interface_list.push_back(
- net::NetworkInterface("network2", "network2", 1,
+ net::NetworkInterface("network2",
+ "network2",
+ 1,
net::NetworkChangeNotifier::CONNECTION_UNKNOWN,
- mock_ip_, 0));
+ mock_ip_,
+ 0,
+ net::IP_ADDRESS_ATTRIBUTE_NONE));
interface_list.push_back(
- net::NetworkInterface("network3", "network3", 2,
+ net::NetworkInterface("network3",
+ "network3",
+ 2,
net::NetworkChangeNotifier::CONNECTION_UNKNOWN,
- mock_ip_, 0));
+ mock_ip_,
+ 0,
+ net::IP_ADDRESS_ATTRIBUTE_NONE));
// "network4" is equivalent to "network2" because both the address family
// and interface index are the same.
interface_list.push_back(
- net::NetworkInterface("network4", "network4", 1,
+ net::NetworkInterface("network4",
+ "network4",
+ 1,
net::NetworkChangeNotifier::CONNECTION_UNKNOWN,
- mock_ip_, 0));
+ mock_ip_,
+ 0,
+ net::IP_ADDRESS_ATTRIBUTE_NONE));
// 3 sockets * 4 requests per socket = 12 requests
EXPECT_CALL(mock_observer_, OnDiscoveryRequest(A<DialService*>())).Times(12);
« no previous file with comments | « no previous file | chrome/browser/local_discovery/privet_traffic_detector.cc » ('j') | net/base/net_util.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698