diff options
author | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 01:59:48 +0000 |
---|---|---|
committer | youngki@chromium.org <youngki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 01:59:48 +0000 |
commit | ec9b06712a3cd52def1e8543178487a170fde46b (patch) | |
tree | 3cc0d41d3bf32c37c49fa1ffb8b415b200a65f6d /device/bluetooth/bluetooth_adapter_chromeos.h | |
parent | 4ccfea6321a0aaf93dc92ced179f4ade6f4f28e5 (diff) | |
download | chromium_src-ec9b06712a3cd52def1e8543178487a170fde46b.zip chromium_src-ec9b06712a3cd52def1e8543178487a170fde46b.tar.gz chromium_src-ec9b06712a3cd52def1e8543178487a170fde46b.tar.bz2 |
Created BluetoothAdapter::IsInitialized() and BluetoothAdapter::QueueAdapterCallback().
These methods are created to make sure the adapter is used only after it is initialized.
For now both ChromeOS and Windows implementations return true for
BluetoothAdpater::IsInitialized(), so nothing has been changed in terms of
functionalities.
BUG=135470
Review URL: https://chromiumcodereview.appspot.com/11959003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177308 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_adapter_chromeos.h')
-rw-r--r-- | device/bluetooth/bluetooth_adapter_chromeos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h index dc1d0da..79108f9 100644 --- a/device/bluetooth/bluetooth_adapter_chromeos.h +++ b/device/bluetooth/bluetooth_adapter_chromeos.h @@ -42,6 +42,7 @@ class BluetoothAdapterChromeOs device::BluetoothAdapter::Observer* observer) OVERRIDE; virtual void RemoveObserver( device::BluetoothAdapter::Observer* observer) OVERRIDE; + virtual bool IsInitialized() const OVERRIDE; virtual bool IsPresent() const OVERRIDE; virtual bool IsPowered() const OVERRIDE; virtual void SetPowered( |