diff options
Diffstat (limited to 'dbus/fake_bus.h')
-rw-r--r-- | dbus/fake_bus.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dbus/fake_bus.h b/dbus/fake_bus.h new file mode 100644 index 0000000..743e362 --- /dev/null +++ b/dbus/fake_bus.h @@ -0,0 +1,23 @@ +// 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 DBUS_FAKE_BUS_H_ +#define DBUS_FAKE_BUS_H_ + +#include "dbus/bus.h" + +namespace dbus { + +// A fake implementation of Bus, which does nothing. +class FakeBus : public Bus { + public: + FakeBus(const Bus::Options& options); + + protected: + virtual ~FakeBus(); +}; + +} // namespace dbus + +#endif // DBUS_FAKE_BUS_H_ |