diff options
author | keybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 21:07:21 +0000 |
---|---|---|
committer | keybuk@chromium.org <keybuk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-19 21:07:21 +0000 |
commit | 2862df46fb1f2429b9a5e0d6f2b8e62d7f266950 (patch) | |
tree | 418cd07b0469b8e2034834c903fbf3ef67ffe762 /device/bluetooth/bluetooth_device_experimental_chromeos.cc | |
parent | 79f92dfaf844b58af67bb49d5f4227cec7818482 (diff) | |
download | chromium_src-2862df46fb1f2429b9a5e0d6f2b8e62d7f266950.zip chromium_src-2862df46fb1f2429b9a5e0d6f2b8e62d7f266950.tar.gz chromium_src-2862df46fb1f2429b9a5e0d6f2b8e62d7f266950.tar.bz2 |
Add abstract BluetoothProfile class
This class will form the base of the 4.0 BR+LE compatible API,
allowing for both incoming connections for profiles we're clients
for and implementing services within Chrome.
BUG=229636
TEST=none
Review URL: https://chromiumcodereview.appspot.com/13862023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_device_experimental_chromeos.cc')
-rw-r--r-- | device/bluetooth/bluetooth_device_experimental_chromeos.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_device_experimental_chromeos.cc b/device/bluetooth/bluetooth_device_experimental_chromeos.cc index 0f3e478..85e84d3 100644 --- a/device/bluetooth/bluetooth_device_experimental_chromeos.cc +++ b/device/bluetooth/bluetooth_device_experimental_chromeos.cc @@ -257,6 +257,13 @@ void BluetoothDeviceExperimentalChromeOS::ConnectToService( callback.Run(scoped_refptr<device::BluetoothSocket>()); } +void BluetoothDeviceExperimentalChromeOS::ConnectToProfile( + device::BluetoothProfile* profile, + const ErrorCallback& error_callback) { + // TODO(keybuk): implement + error_callback.Run(); +} + void BluetoothDeviceExperimentalChromeOS::SetOutOfBandPairingData( const device::BluetoothOutOfBandPairingData& data, const base::Closure& callback, |