summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/dbus/bluetooth_node_client.h
diff options
context:
space:
mode:
authorhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-31 04:08:38 +0000
committerhashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-31 04:08:38 +0000
commite8db03d6a0c136669f158a9694f5cb8e3074e536 (patch)
treefdf515535fba5aef9b12d3e41930e21be4fbd9f2 /chrome/browser/chromeos/dbus/bluetooth_node_client.h
parent8e3c78cb4857505329f602e6af71a46d05346e99 (diff)
downloadchromium_src-e8db03d6a0c136669f158a9694f5cb8e3074e536.zip
chromium_src-e8db03d6a0c136669f158a9694f5cb8e3074e536.tar.gz
chromium_src-e8db03d6a0c136669f158a9694f5cb8e3074e536.tar.bz2
chromeos: Switch stub/real D-Bus client implementation with Create()'s argument.
Add dbus_client_implementation_type.h BUG=None TEST=build success Review URL: http://codereview.chromium.org/9950025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130039 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/dbus/bluetooth_node_client.h')
-rw-r--r--chrome/browser/chromeos/dbus/bluetooth_node_client.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/dbus/bluetooth_node_client.h b/chrome/browser/chromeos/dbus/bluetooth_node_client.h
index c065e9f..dbe3ab3 100644
--- a/chrome/browser/chromeos/dbus/bluetooth_node_client.h
+++ b/chrome/browser/chromeos/dbus/bluetooth_node_client.h
@@ -12,6 +12,7 @@
#include "base/observer_list.h"
#include "base/values.h"
#include "chrome/browser/chromeos/dbus/bluetooth_property.h"
+#include "chrome/browser/chromeos/dbus/dbus_client_implementation_type.h"
#include "dbus/object_path.h"
namespace dbus {
@@ -64,7 +65,8 @@ class BluetoothNodeClient {
virtual Properties* GetProperties(const dbus::ObjectPath& object_path) = 0;
// Creates the instance.
- static BluetoothNodeClient* Create(dbus::Bus* bus,
+ static BluetoothNodeClient* Create(DBusClientImplementationType type,
+ dbus::Bus* bus,
BluetoothDeviceClient* device_client);
protected: