summaryrefslogtreecommitdiffstats
path: root/dbus/mock_object_manager.cc
diff options
context:
space:
mode:
authorkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-25 18:20:08 +0000
committerkeybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-25 18:20:08 +0000
commit9cc40cb2061532d345a6ec925e97563631132e9e (patch)
treeecfb2c793420271b3b172f27ecebc66ae966bb65 /dbus/mock_object_manager.cc
parentdbc220a0550880c4d35d75a57f10663d3e1ed240 (diff)
downloadchromium_src-9cc40cb2061532d345a6ec925e97563631132e9e.zip
chromium_src-9cc40cb2061532d345a6ec925e97563631132e9e.tar.gz
chromium_src-9cc40cb2061532d345a6ec925e97563631132e9e.tar.bz2
Support D-Bus Object Manager
Object Manager is a new standard D-Bus interface, closely related to the Properties interface. It is used by BlueZ 5.x thus the need to implement it now. The intended use is that Chrome D-Bus Client singletons set up a link to an object manager in their constructor and register themselves to handle their particular interface. BUG=220951 TEST=dbus_unittests Review URL: https://codereview.chromium.org/12491014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'dbus/mock_object_manager.cc')
-rw-r--r--dbus/mock_object_manager.cc18
1 files changed, 18 insertions, 0 deletions
diff --git a/dbus/mock_object_manager.cc b/dbus/mock_object_manager.cc
new file mode 100644
index 0000000..dcba78e
--- /dev/null
+++ b/dbus/mock_object_manager.cc
@@ -0,0 +1,18 @@
+// 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.
+
+#include "dbus/mock_object_manager.h"
+
+namespace dbus {
+
+MockObjectManager::MockObjectManager(Bus* bus,
+ const std::string& service_name,
+ const ObjectPath& object_path)
+ : ObjectManager(bus, service_name, object_path) {
+}
+
+MockObjectManager::~MockObjectManager() {
+}
+
+} // namespace dbus