bluetooth: Shutdown BluetoothAdapter before DBus on ChromeOS.
[chromium-blink-merge.git] / chromeos / dbus / fake_privet_daemon_client.h
blobad5300bce60b8ed23e42ee8c0f4c1788602533e7
1 // Copyright 2014 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.
5 #ifndef CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_CLIENT_H_
6 #define CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_CLIENT_H_
8 #include "base/macros.h"
9 #include "chromeos/dbus/privet_daemon_client.h"
11 namespace chromeos {
13 // A fake implementation of PrivetDaemonClient. Invokes callbacks immediately.
14 class FakePrivetDaemonClient : public PrivetDaemonClient {
15 public:
16 FakePrivetDaemonClient();
17 ~FakePrivetDaemonClient() override;
19 // DBusClient overrides:
20 void Init(dbus::Bus* bus) override;
22 // PrivetClient overrides:
23 void GetSetupStatus(const GetSetupStatusCallback& callback) override;
25 private:
26 DISALLOW_COPY_AND_ASSIGN(FakePrivetDaemonClient);
29 } // namespace chromeos
31 #endif // CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_CLIENT_H_