| Index: chromeos/dbus/fake_shill_manager_client.cc
|
| diff --git a/chromeos/dbus/fake_shill_manager_client.cc b/chromeos/dbus/fake_shill_manager_client.cc
|
| index d0e392fd66a6a852d542d9d20b2704a11084bf57..7483470d292e3f579ccab3498baca4e526add5e4 100644
|
| --- a/chromeos/dbus/fake_shill_manager_client.cc
|
| +++ b/chromeos/dbus/fake_shill_manager_client.cc
|
| @@ -726,27 +726,21 @@ void FakeShillManagerClient::SetupDefaultEnvironment() {
|
| }
|
|
|
| // Wimax
|
| + const std::string kWimaxPath = "/service/wimax1";
|
| state = GetInitialStateForType(shill::kTypeWimax, &enabled);
|
| if (state != kTechnologyUnavailable) {
|
| AddTechnology(shill::kTypeWimax, enabled);
|
| devices->AddDevice(
|
| "/device/wimax1", shill::kTypeWimax, "stub_wimax_device1");
|
|
|
| - services->AddService("/service/wimax1",
|
| - "wimax1_guid",
|
| - "wimax1" /* name */,
|
| - shill::kTypeWimax,
|
| - state,
|
| - add_to_visible);
|
| - services->SetServiceProperty("/service/wimax1",
|
| - shill::kConnectableProperty,
|
| + services->AddService(kWimaxPath, "wimax1_guid", "wimax1" /* name */,
|
| + shill::kTypeWimax, state, add_to_visible);
|
| + services->SetServiceProperty(kWimaxPath, shill::kConnectableProperty,
|
| base::FundamentalValue(true));
|
| base::FundamentalValue strength_value(80);
|
| - services->SetServiceProperty(
|
| - "/service/wimax1", shill::kSignalStrengthProperty, strength_value);
|
| - base::StringValue identity_value("test.identity");
|
| - services->SetServiceProperty(
|
| - "/service/wimax1", shill::kEapIdentityProperty, identity_value);
|
| + services->SetServiceProperty(kWimaxPath, shill::kSignalStrengthProperty,
|
| + strength_value);
|
| + profiles->AddService(shared_profile, kWimaxPath);
|
| }
|
|
|
| // Cellular
|
|
|