Index: chrome/browser/extensions/api/networking_private/networking_private_apitest.cc |
diff --git a/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc b/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc |
index 196d7f6e318c3227f51c1d42b37fb1b7cdd89204..20bf3a4b598db719060bf398385d8198a3b5418e 100644 |
--- a/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc |
+++ b/chrome/browser/extensions/api/networking_private/networking_private_apitest.cc |
@@ -268,6 +268,9 @@ class ExtensionNetworkingPrivateApiTest |
// Sends a notification about the added profile. |
profile_test->AddProfile(kUser1ProfilePath, userhash_); |
+ // Enable technologies. |
+ manager_test_->AddTechnology("wimax", true); |
+ |
// Add IPConfigs |
base::DictionaryValue ipconfig; |
ipconfig.SetStringWithoutPathExpansion(shill::kAddressProperty, "0.0.0.0"); |
@@ -335,6 +338,18 @@ class ExtensionNetworkingPrivateApiTest |
shill::kConnectableProperty, |
base::FundamentalValue(true)); |
+ AddService("stub_wimax", "wimax", shill::kTypeWimax, shill::kStateOnline); |
+ service_test_->SetServiceProperty("stub_wimax", |
+ shill::kSignalStrengthProperty, |
+ base::FundamentalValue(40)); |
+ service_test_->SetServiceProperty("stub_wimax", |
+ shill::kProfileProperty, |
+ base::StringValue(kUser1ProfilePath)); |
+ service_test_->SetServiceProperty("stub_wimax", |
+ shill::kConnectableProperty, |
+ base::FundamentalValue(true)); |
+ profile_test->AddService(kUser1ProfilePath, "stub_wimax"); |
+ |
base::ListValue frequencies2; |
frequencies2.AppendInteger(2400); |
frequencies2.AppendInteger(5000); |