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

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

Issue 31773002: cryptohome: Convet all *Stub classes into Fake* classes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 2 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_service_client_stub.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[]; 15 CHROMEOS_EXPORT extern const char kSharedProfilePath[];
16 16
17 // Add default devices, services and profiles. This works only if 17 // Add default devices, services and profiles. This works only if
18 // DBusThreadManager was initialized with the Shill*ClientStubs. 18 // DBusThreadManager was initialized with the FakeShill*Clients.
19 void SetupDefaultEnvironment(); 19 void SetupDefaultEnvironment();
20 20
21 std::string DevicePathForType(const std::string& type); 21 std::string DevicePathForType(const std::string& type);
22 22
23 // Returns true when stub portalled wifi is enabled and it's service 23 // Returns true when stub portalled wifi is enabled and it's service
24 // path equals to |path|. 24 // path equals to |path|.
25 CHROMEOS_EXPORT bool IsStubPortalledWifiEnabled(const std::string& path); 25 CHROMEOS_EXPORT bool IsStubPortalledWifiEnabled(const std::string& path);
26 26
27 } // namespace shill_stub_helper 27 } // namespace shill_stub_helper
28 } // namespace chromeos 28 } // namespace chromeos
29 29
30 #endif // CHROMEOS_DBUS_SHILL_STUB_HELPER_H_ 30 #endif // CHROMEOS_DBUS_SHILL_STUB_HELPER_H_
OLDNEW
« no previous file with comments | « chromeos/dbus/shill_service_client_stub.cc ('k') | chromeos/dbus/shill_stub_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698