| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chromeos/dbus/shill_stub_helper.h" | 5 #include "chromeos/dbus/shill_stub_helper.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "chromeos/chromeos_switches.h" | 9 #include "chromeos/chromeos_switches.h" |
| 10 #include "chromeos/dbus/dbus_thread_manager.h" | 10 #include "chromeos/dbus/dbus_thread_manager.h" |
| 11 #include "chromeos/dbus/shill_device_client.h" | 11 #include "chromeos/dbus/shill_device_client.h" |
| 12 #include "chromeos/dbus/shill_manager_client.h" | 12 #include "chromeos/dbus/shill_manager_client.h" |
| 13 #include "chromeos/dbus/shill_profile_client.h" | 13 #include "chromeos/dbus/shill_profile_client.h" |
| 14 #include "chromeos/dbus/shill_profile_client_stub.h" | |
| 15 #include "chromeos/dbus/shill_service_client.h" | 14 #include "chromeos/dbus/shill_service_client.h" |
| 16 #include "third_party/cros_system_api/dbus/service_constants.h" | 15 #include "third_party/cros_system_api/dbus/service_constants.h" |
| 17 | 16 |
| 18 namespace chromeos { | 17 namespace chromeos { |
| 19 namespace shill_stub_helper { | 18 namespace shill_stub_helper { |
| 20 | 19 |
| 21 namespace { | 20 namespace { |
| 22 | 21 |
| 23 const char kDevicePathEthernet[] = "/device/eth1"; | 22 const char kDevicePathEthernet[] = "/device/eth1"; |
| 24 const char kDevicePathWifi[] = "/device/wifi1"; | 23 const char kDevicePathWifi[] = "/device/wifi1"; |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 return kDevicePathWifi; | 202 return kDevicePathWifi; |
| 204 if (type == shill::kTypeCellular) | 203 if (type == shill::kTypeCellular) |
| 205 return kDevicePathCellular; | 204 return kDevicePathCellular; |
| 206 if (type == shill::kTypeWimax) | 205 if (type == shill::kTypeWimax) |
| 207 return kDevicePathWimax; | 206 return kDevicePathWimax; |
| 208 return ""; | 207 return ""; |
| 209 } | 208 } |
| 210 | 209 |
| 211 } // namespace shill_stub_helper | 210 } // namespace shill_stub_helper |
| 212 } // namespace chromeos | 211 } // namespace chromeos |
| OLD | NEW |