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

Unified Diff: device/bluetooth/bluetooth_device.h

Issue 256413003: chrome.bluetoothLowEnergy: Implement getService and getServices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rpaquay@'s comments. Created 6 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_device.h
diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
index 7a29cac6235287c51a90fba637199bc483b8d22f..28fd7ac12d18dec7797222a67bd63c79d47d6c6e 100644
--- a/device/bluetooth/bluetooth_device.h
+++ b/device/bluetooth/bluetooth_device.h
@@ -369,11 +369,12 @@ class BluetoothDevice {
const ErrorCallback& error_callback) = 0;
// Returns the list of discovered GATT services.
- std::vector<BluetoothGattService*> GetGattServices() const;
+ virtual std::vector<BluetoothGattService*> GetGattServices() const;
// Returns the GATT service with device-specific identifier |identifier|.
// Returns NULL, if no such service exists.
- BluetoothGattService* GetGattService(const std::string& identifier) const;
+ virtual BluetoothGattService* GetGattService(
+ const std::string& identifier) const;
protected:
BluetoothDevice();

Powered by Google App Engine
This is Rietveld 408576698