Index: chromeos/dbus/fake_shill_device_client.cc |
diff --git a/chromeos/dbus/fake_shill_device_client.cc b/chromeos/dbus/fake_shill_device_client.cc |
index ef88a1c69530dfcd99de90bf145518c2dc0f58a1..dd0322f7eb9c88123ff0c5c6a7793cd0ac9128bc 100644 |
--- a/chromeos/dbus/fake_shill_device_client.cc |
+++ b/chromeos/dbus/fake_shill_device_client.cc |
@@ -11,7 +11,6 @@ |
#include "chromeos/dbus/dbus_thread_manager.h" |
#include "chromeos/dbus/shill_manager_client.h" |
#include "chromeos/dbus/shill_property_changed_observer.h" |
-#include "chromeos/network/shill_property_util.h" |
#include "dbus/bus.h" |
#include "dbus/message.h" |
#include "dbus/object_path.h" |
@@ -253,7 +252,7 @@ void FakeShillDeviceClient::AddDevice(const std::string& device_path, |
properties->SetWithoutPathExpansion( |
shill::kDBusServiceProperty, |
base::Value::CreateStringValue(modemmanager::kModemManager1ServiceName)); |
- if (NetworkTypePattern::Cellular().MatchesType(type)) { |
+ if (type == shill::kTypeCellular) { |
stevenjb
2014/05/27 22:37:43
I don't think Shill client code should use Network
|
properties->SetWithoutPathExpansion(shill::kCellularAllowRoamingProperty, |
new base::FundamentalValue(false)); |
} |