| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "device/bluetooth/bluetooth_adapter_android.h" | 5 #include "device/bluetooth/bluetooth_adapter_android.h" |
| 6 | 6 |
| 7 #include <memory> | 7 #include <memory> |
| 8 | 8 |
| 9 #include "base/android/jni_android.h" | 9 #include "base/android/jni_android.h" |
| 10 #include "base/android/jni_string.h" | 10 #include "base/android/jni_string.h" |
| 11 #include "base/sequenced_task_runner.h" | 11 #include "base/sequenced_task_runner.h" |
| 12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
| 14 #include "device/bluetooth/android/wrappers.h" | 14 #include "device/bluetooth/android/wrappers.h" |
| 15 #include "device/bluetooth/bluetooth_advertisement.h" | 15 #include "device/bluetooth/bluetooth_advertisement.h" |
| 16 #include "device/bluetooth/bluetooth_device_android.h" | 16 #include "device/bluetooth/bluetooth_device_android.h" |
| 17 #include "device/bluetooth/bluetooth_discovery_session_outcome.h" | 17 #include "device/bluetooth/bluetooth_discovery_session_outcome.h" |
| 18 #include "jni/ChromeBluetoothAdapter_jni.h" | 18 #include "jni/ChromeBluetoothAdapter_jni.h" |
| 19 | 19 |
| 20 using base::android::AttachCurrentThread; | 20 using base::android::AttachCurrentThread; |
| 21 using base::android::ConvertJavaStringToUTF8; | 21 using base::android::ConvertJavaStringToUTF8; |
| 22 | 22 |
| 23 namespace device { | 23 namespace device { |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // TODO(scheib): Support filters crbug.com/490401 | 232 // TODO(scheib): Support filters crbug.com/490401 |
| 233 NOTIMPLEMENTED(); | 233 NOTIMPLEMENTED(); |
| 234 error_callback.Run(UMABluetoothDiscoverySessionOutcome::NOT_IMPLEMENTED); | 234 error_callback.Run(UMABluetoothDiscoverySessionOutcome::NOT_IMPLEMENTED); |
| 235 } | 235 } |
| 236 | 236 |
| 237 void BluetoothAdapterAndroid::RemovePairingDelegateInternal( | 237 void BluetoothAdapterAndroid::RemovePairingDelegateInternal( |
| 238 device::BluetoothDevice::PairingDelegate* pairing_delegate) { | 238 device::BluetoothDevice::PairingDelegate* pairing_delegate) { |
| 239 } | 239 } |
| 240 | 240 |
| 241 } // namespace device | 241 } // namespace device |
| OLD | NEW |