Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: chromeos/dbus/shill_stub_helper.h

Issue 183033004: Cleanup shill_stub_helper, GetSharedProfilePath -> ShillProfileClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chromeos/dbus/shill_profile_client.cc ('k') | chromeos/dbus/shill_stub_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_profile_client.cc ('k') | chromeos/dbus/shill_stub_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698