OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ | |
6 #define CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "chromeos/chromeos_export.h" | |
11 | |
12 namespace chromeos { | |
13 namespace shill_stub_helper { | |
14 | |
15 CHROMEOS_EXPORT extern const char kSharedProfilePath[]; | |
16 | |
17 // Add default devices, services and profiles. This works only if | |
18 // DBusThreadManager was initialized with the FakeShill*Clients. | |
19 void SetupDefaultEnvironment(); | |
20 | |
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 | |
28 } // namespace chromeos | |
29 | |
30 #endif // CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ | |
OLD | NEW |