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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service_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_service_win.cc
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_win.cc b/device/bluetooth/bluetooth_remote_gatt_service_win.cc
index dd0e71fc12ac935dd681123aa29ce470ab4604bd..d467c68cd1f72d03e8f38eb93dc65e9d7c0aecee 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service_win.cc
+++ b/device/bluetooth/bluetooth_remote_gatt_service_win.cc
@@ -78,22 +78,23 @@ BluetoothDevice* BluetoothRemoteGattServiceWin::GetDevice() const {
return device_;
}
-std::vector<BluetoothGattCharacteristic*>
+std::vector<BluetoothRemoteGattCharacteristic*>
BluetoothRemoteGattServiceWin::GetCharacteristics() const {
- std::vector<BluetoothGattCharacteristic*> has_characteristics;
+ std::vector<BluetoothRemoteGattCharacteristic*> has_characteristics;
for (const auto& c : included_characteristics_)
has_characteristics.push_back(c.second.get());
return has_characteristics;
}
-std::vector<BluetoothGattService*>
+std::vector<BluetoothRemoteGattService*>
BluetoothRemoteGattServiceWin::GetIncludedServices() const {
NOTIMPLEMENTED();
// TODO(crbug.com/590008): Needs implementation.
- return std::vector<BluetoothGattService*>();
+ return std::vector<BluetoothRemoteGattService*>();
}
-BluetoothGattCharacteristic* BluetoothRemoteGattServiceWin::GetCharacteristic(
+BluetoothRemoteGattCharacteristic*
+BluetoothRemoteGattServiceWin::GetCharacteristic(
const std::string& identifier) const {
GattCharacteristicsMap::const_iterator it =
included_characteristics_.find(identifier);
@@ -103,13 +104,13 @@ BluetoothGattCharacteristic* BluetoothRemoteGattServiceWin::GetCharacteristic(
}
bool BluetoothRemoteGattServiceWin::AddCharacteristic(
- device::BluetoothGattCharacteristic* characteristic) {
+ device::BluetoothRemoteGattCharacteristic* characteristic) {
NOTIMPLEMENTED();
return false;
}
bool BluetoothRemoteGattServiceWin::AddIncludedService(
- device::BluetoothGattService* service) {
+ device::BluetoothRemoteGattService* service) {
NOTIMPLEMENTED();
return false;
}

Powered by Google App Engine
This is Rietveld 408576698