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"
13 // A fake implementation of PrivetDaemonClient. Invokes callbacks immediately.
14 class FakePrivetDaemonClient
: public PrivetDaemonClient
{
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
;
26 DISALLOW_COPY_AND_ASSIGN(FakePrivetDaemonClient
);
29 } // namespace chromeos
31 #endif // CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_CLIENT_H_