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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_descriptor_win.cc

Issue 1898643002: Refactor device::BluetoothGattXXX classes to split into remote/local. (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_descriptor_win.cc
diff --git a/device/bluetooth/bluetooth_remote_gatt_descriptor_win.cc b/device/bluetooth/bluetooth_remote_gatt_descriptor_win.cc
index 3610af03f6125e5c202e832d15e2bd8241965e97..fb98e1ee70f39ab393efce8d092bdbe80753e192 100644
--- a/device/bluetooth/bluetooth_remote_gatt_descriptor_win.cc
+++ b/device/bluetooth/bluetooth_remote_gatt_descriptor_win.cc
@@ -53,21 +53,17 @@ BluetoothUUID BluetoothRemoteGattDescriptorWin::GetUUID() const {
return descriptor_uuid_;
}
-bool BluetoothRemoteGattDescriptorWin::IsLocal() const {
- return false;
-}
-
std::vector<uint8_t>& BluetoothRemoteGattDescriptorWin::GetValue() const {
NOTIMPLEMENTED();
return const_cast<std::vector<uint8_t>&>(descriptor_value_);
}
-BluetoothGattCharacteristic*
+BluetoothRemoteGattCharacteristic*
BluetoothRemoteGattDescriptorWin::GetCharacteristic() const {
return parent_characteristic_;
}
-BluetoothGattCharacteristic::Permissions
+BluetoothRemoteGattCharacteristic::Permissions
BluetoothRemoteGattDescriptorWin::GetPermissions() const {
NOTIMPLEMENTED();
return descriptor_permissions_;
@@ -79,7 +75,7 @@ void BluetoothRemoteGattDescriptorWin::ReadRemoteDescriptor(
DCHECK(ui_task_runner_->RunsTasksOnCurrentThread());
NOTIMPLEMENTED();
- error_callback.Run(BluetoothGattService::GATT_ERROR_NOT_SUPPORTED);
+ error_callback.Run(BluetoothRemoteGattService::GATT_ERROR_NOT_SUPPORTED);
}
void BluetoothRemoteGattDescriptorWin::WriteRemoteDescriptor(
@@ -89,7 +85,7 @@ void BluetoothRemoteGattDescriptorWin::WriteRemoteDescriptor(
DCHECK(ui_task_runner_->RunsTasksOnCurrentThread());
NOTIMPLEMENTED();
- error_callback.Run(BluetoothGattService::GATT_ERROR_NOT_SUPPORTED);
+ error_callback.Run(BluetoothRemoteGattService::GATT_ERROR_NOT_SUPPORTED);
}
uint16_t BluetoothRemoteGattDescriptorWin::GetAttributeHandle() const {
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_descriptor_win.h ('k') | device/bluetooth/bluetooth_remote_gatt_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698