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

Unified Diff: device/bluetooth/bluetooth_adapter_chromeos.h

Issue 1054743003: Add CPP API for BLE advertisments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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_adapter_chromeos.h
diff --git a/device/bluetooth/bluetooth_adapter_chromeos.h b/device/bluetooth/bluetooth_adapter_chromeos.h
index 39a23dec2c7a0edae10ec76aae2e890754746b55..a90bf5fd1f93ce200b7025850f4ba9c86bdd40b9 100644
--- a/device/bluetooth/bluetooth_adapter_chromeos.h
+++ b/device/bluetooth/bluetooth_adapter_chromeos.h
@@ -99,6 +99,11 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapterChromeOS
const device::BluetoothAdapter::AcquiredCallback& callback,
const device::BluetoothAudioSink::ErrorCallback& error_callback) override;
+ void RegisterAdvertisement(
+ scoped_ptr<device::BluetoothAdvertisement::Data> advertisement_data,
+ const CreateAdvertisementCallback& callback,
+ const CreateAdvertisementErrorCallback& error_callback) override;
+
// Locates the device object by object path (the devices map and
// BluetoothDevice methods are by address).
BluetoothDeviceChromeOS* GetDeviceWithPath(

Powered by Google App Engine
This is Rietveld 408576698