diff options
Diffstat (limited to 'chromeos/dbus/fake_privet_daemon_client.h')
-rw-r--r-- | chromeos/dbus/fake_privet_daemon_client.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/chromeos/dbus/fake_privet_daemon_client.h b/chromeos/dbus/fake_privet_daemon_client.h deleted file mode 100644 index 1b86e41..0000000 --- a/chromeos/dbus/fake_privet_daemon_client.h +++ /dev/null @@ -1,34 +0,0 @@ -// Copyright 2014 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_FAKE_PRIVET_DAEMON_CLIENT_H_ -#define CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_CLIENT_H_ - -#include "base/macros.h" -#include "chromeos/dbus/privet_daemon_client.h" - -namespace chromeos { - -// A fake implementation of PrivetDaemonClient. Invokes callbacks immediately. -class FakePrivetDaemonClient : public PrivetDaemonClient { - public: - FakePrivetDaemonClient(); - ~FakePrivetDaemonClient() override; - - // DBusClient overrides: - void Init(dbus::Bus* bus) override; - - // PrivetClient overrides: - void AddObserver(Observer* observer) override; - void RemoveObserver(Observer* observer) override; - std::string GetWifiBootstrapState() override; - void Ping(const PingCallback& callback) override; - - private: - DISALLOW_COPY_AND_ASSIGN(FakePrivetDaemonClient); -}; - -} // namespace chromeos - -#endif // CHROMEOS_DBUS_FAKE_PRIVET_DAEMON_CLIENT_H_ |