| Index: chromeos/dbus/fake_system_clock_client.h
|
| diff --git a/chromeos/dbus/fake_system_clock_client.h b/chromeos/dbus/fake_system_clock_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cea91a6dad3e5dfb464895430ce1ad77616c30eb
|
| --- /dev/null
|
| +++ b/chromeos/dbus/fake_system_clock_client.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 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_FAKE_SYSTEM_CLOCK_CLIENT_H_
|
| +#define CHROMEOS_DBUS_FAKE_SYSTEM_CLOCK_CLIENT_H_
|
| +
|
| +#include "chromeos/dbus/system_clock_client.h"
|
| +
|
| +namespace chromeos {
|
| +
|
| +// A fake implementation of SystemClockClient. This class does nothing.
|
| +class FakeSystemClockClient : public SystemClockClient {
|
| + public:
|
| + FakeSystemClockClient();
|
| + virtual ~FakeSystemClockClient();
|
| +
|
| + // SystemClockClient overrides.
|
| + virtual void AddObserver(Observer* observer) OVERRIDE;
|
| + virtual void RemoveObserver(Observer* observer) OVERRIDE;
|
| + virtual bool HasObserver(Observer* observer) OVERRIDE;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(FakeSystemClockClient);
|
| +};
|
| +
|
| +} // namespace chromeos
|
| +
|
| +#endif // CHROMEOS_DBUS_FAKE_SYSTEM_CLOCK_CLIENT_H_
|
|
|