Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2077)

Unified Diff: dbus/fake_bus.h

Issue 14493004: dbus: Add FakeBus (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove garbage line. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dbus/dbus.gyp ('k') | dbus/fake_bus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/fake_bus.h
diff --git a/dbus/fake_bus.h b/dbus/fake_bus.h
new file mode 100644
index 0000000000000000000000000000000000000000..743e3628d9cf08d8940de8b4c91017bf9a07e767
--- /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_
« no previous file with comments | « dbus/dbus.gyp ('k') | dbus/fake_bus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698