summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/shill_stub_helper.h
blob: b599014413f68ade65d89a8c55f3cc5670e2a78f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROMEOS_DBUS_SHILL_STUB_HELPER_H_
#define CHROMEOS_DBUS_SHILL_STUB_HELPER_H_

#include <string>

#include "chromeos/chromeos_export.h"

namespace chromeos {
namespace shill_stub_helper {

CHROMEOS_EXPORT extern const char kSharedProfilePath[];

// Add default devices, services and profiles. This works only if
// DBusThreadManager was initialized with the FakeShill*Clients.
void SetupDefaultEnvironment();

std::string DevicePathForType(const std::string& type);

// Returns true when stub portalled wifi is enabled and it's service
// path equals to |path|.
CHROMEOS_EXPORT bool IsStubPortalledWifiEnabled(const std::string& path);

}  // namespace shill_stub_helper
}  // namespace chromeos

#endif  // CHROMEOS_DBUS_SHILL_STUB_HELPER_H_