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

Unified Diff: chrome/browser/extensions/api/dial/dial_service_unittest.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 | « no previous file | chrome/browser/local_discovery/privet_traffic_detector.cc » ('j') | no next file with comments »
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 aeff01c55f027153544d5ba5b0bb6e7b652309c2..adaecc07fc8263c8f918de509d66bbac7c645ed3 100644
--- a/chrome/browser/extensions/api/dial/dial_service_unittest.cc
+++ b/chrome/browser/extensions/api/dial/dial_service_unittest.cc
@@ -83,16 +83,20 @@ TEST_F(DialServiceTest, TestMultipleNetworkInterfaces) {
dial_service_.discovery_active_ = true;
net::NetworkInterfaceList interface_list;
interface_list.push_back(
- net::NetworkInterface("network1", "network1", 0, mock_ip_, 0));
+ net::NetworkInterface("network1", "network1", 0,
+ net::NETWORK_INTERFACE_UNKNOWN, mock_ip_, 0));
interface_list.push_back(
- net::NetworkInterface("network2", "network2", 1, mock_ip_, 0));
+ net::NetworkInterface("network2", "network2", 1,
+ net::NETWORK_INTERFACE_UNKNOWN, mock_ip_, 0));
interface_list.push_back(
- net::NetworkInterface("network3", "network3", 2, mock_ip_, 0));
+ net::NetworkInterface("network3", "network3", 2,
+ net::NETWORK_INTERFACE_UNKNOWN, mock_ip_, 0));
// "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, mock_ip_, 0));
+ net::NetworkInterface("network4", "network4", 1,
+ net::NETWORK_INTERFACE_UNKNOWN, mock_ip_, 0));
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698