| 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 #ifndef CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ | 5 #ifndef CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ |
| 6 #define CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ | 6 #define CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "chromeos/chromeos_export.h" | 10 #include "chromeos/chromeos_export.h" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 namespace shill_stub_helper { | 13 namespace shill_stub_helper { |
| 14 | 14 |
| 15 CHROMEOS_EXPORT extern const char kSharedProfilePath[]; | |
| 16 | |
| 17 // Add default devices, services and profiles. This works only if | 15 // Add default devices, services and profiles. This works only if |
| 18 // DBusThreadManager was initialized with the FakeShill*Clients. | 16 // DBusThreadManager was initialized with the FakeShill*Clients. |
| 19 void SetupDefaultEnvironment(); | 17 void SetupDefaultEnvironment(); |
| 20 | 18 |
| 21 std::string DevicePathForType(const std::string& type); | |
| 22 | |
| 23 // Returns true when stub portalled wifi is enabled and it's service | |
| 24 // path equals to |path|. | |
| 25 CHROMEOS_EXPORT bool IsStubPortalledWifiEnabled(const std::string& path); | |
| 26 | |
| 27 } // namespace shill_stub_helper | 19 } // namespace shill_stub_helper |
| 28 } // namespace chromeos | 20 } // namespace chromeos |
| 29 | 21 |
| 30 #endif // CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ | 22 #endif // CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ |
| OLD | NEW |