Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1790)

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service_android.cc

Issue 1872943002: Add support for local services/characteristics/descriptors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_remote_gatt_service_android.cc
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_android.cc b/device/bluetooth/bluetooth_remote_gatt_service_android.cc
index 490369c80eb00d39227c997b72d82a87caabc6e7..935dfaa540099bfb1d3a7182f31c0a2bf1c5b5eb 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service_android.cc
+++ b/device/bluetooth/bluetooth_remote_gatt_service_android.cc
@@ -169,13 +169,13 @@ bool BluetoothRemoteGattServiceAndroid::AddIncludedService(
void BluetoothRemoteGattServiceAndroid::Register(
const base::Closure& callback,
const ErrorCallback& error_callback) {
- error_callback.Run();
+ error_callback.Run(GATT_ERROR_NOT_SUPPORTED);
}
void BluetoothRemoteGattServiceAndroid::Unregister(
const base::Closure& callback,
const ErrorCallback& error_callback) {
- error_callback.Run();
+ error_callback.Run(GATT_ERROR_NOT_SUPPORTED);
}
void BluetoothRemoteGattServiceAndroid::CreateGattRemoteCharacteristic(
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_descriptor_bluez.cc ('k') | device/bluetooth/bluetooth_remote_gatt_service_bluez.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698