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

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

Issue 181413006: Replace misc. network stub flags with more flexible ones (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Elim. shill_stub_helper and move functions to clients. 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
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698