Chromium Code Reviews| Index: device/bluetooth/bluetooth_adapter_android.cc |
| diff --git a/device/bluetooth/bluetooth_adapter_android.cc b/device/bluetooth/bluetooth_adapter_android.cc |
| index 0b8bea30de428369c8bd34823eaa8acef26e85bd..007136d8c8d61734113e5e2bf0e561d49e113012 100644 |
| --- a/device/bluetooth/bluetooth_adapter_android.cc |
| +++ b/device/bluetooth/bluetooth_adapter_android.cc |
| @@ -68,8 +68,7 @@ void BluetoothAdapterAndroid::SetName(const std::string& name, |
| } |
| bool BluetoothAdapterAndroid::IsInitialized() const { |
| - NOTIMPLEMENTED(); |
| - return false; |
| + return true; |
| } |
| bool BluetoothAdapterAndroid::IsPresent() const { |
| @@ -147,18 +146,21 @@ void BluetoothAdapterAndroid::AddDiscoverySession( |
| BluetoothDiscoveryFilter* discovery_filter, |
| const base::Closure& callback, |
| const ErrorCallback& error_callback) { |
|
armansito
2015/05/12 22:39:33
Would it make sense to add NOTIMPLEMENTED() to the
scheib
2015/05/13 22:54:03
No, as they are actually called (and the error han
|
| + error_callback.Run(); |
| } |
| void BluetoothAdapterAndroid::RemoveDiscoverySession( |
| BluetoothDiscoveryFilter* discovery_filter, |
| const base::Closure& callback, |
| const ErrorCallback& error_callback) { |
| + error_callback.Run(); |
| } |
| void BluetoothAdapterAndroid::SetDiscoveryFilter( |
| scoped_ptr<BluetoothDiscoveryFilter> discovery_filter, |
| const base::Closure& callback, |
| const ErrorCallback& error_callback) { |
| + error_callback.Run(); |
| } |
| void BluetoothAdapterAndroid::RemovePairingDelegateInternal( |