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/fake_shill_profile_client.h" | |
hashimoto
2013/10/21 06:39:26
Is this include needed?
satorux1
2013/10/21 06:44:29
good catch. removed.
| |
11 #include "chromeos/dbus/shill_device_client.h" | 12 #include "chromeos/dbus/shill_device_client.h" |
12 #include "chromeos/dbus/shill_manager_client.h" | 13 #include "chromeos/dbus/shill_manager_client.h" |
13 #include "chromeos/dbus/shill_profile_client.h" | 14 #include "chromeos/dbus/shill_profile_client.h" |
14 #include "chromeos/dbus/shill_profile_client_stub.h" | |
15 #include "chromeos/dbus/shill_service_client.h" | 15 #include "chromeos/dbus/shill_service_client.h" |
16 #include "third_party/cros_system_api/dbus/service_constants.h" | 16 #include "third_party/cros_system_api/dbus/service_constants.h" |
17 | 17 |
18 namespace chromeos { | 18 namespace chromeos { |
19 namespace shill_stub_helper { | 19 namespace shill_stub_helper { |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 const char kDevicePathEthernet[] = "/device/eth1"; | 23 const char kDevicePathEthernet[] = "/device/eth1"; |
24 const char kDevicePathWifi[] = "/device/wifi1"; | 24 const char kDevicePathWifi[] = "/device/wifi1"; |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
203 return kDevicePathWifi; | 203 return kDevicePathWifi; |
204 if (type == shill::kTypeCellular) | 204 if (type == shill::kTypeCellular) |
205 return kDevicePathCellular; | 205 return kDevicePathCellular; |
206 if (type == shill::kTypeWimax) | 206 if (type == shill::kTypeWimax) |
207 return kDevicePathWimax; | 207 return kDevicePathWimax; |
208 return ""; | 208 return ""; |
209 } | 209 } |
210 | 210 |
211 } // namespace shill_stub_helper | 211 } // namespace shill_stub_helper |
212 } // namespace chromeos | 212 } // namespace chromeos |
OLD | NEW |