diff options
author | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-31 04:08:38 +0000 |
---|---|---|
committer | hashimoto@chromium.org <hashimoto@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-31 04:08:38 +0000 |
commit | e8db03d6a0c136669f158a9694f5cb8e3074e536 (patch) | |
tree | fdf515535fba5aef9b12d3e41930e21be4fbd9f2 /chrome/browser/chromeos/dbus/bluetooth_node_client.h | |
parent | 8e3c78cb4857505329f602e6af71a46d05346e99 (diff) | |
download | chromium_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.h | 4 |
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: |