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

Unified Diff: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h

Issue 1132173002: Implement the advertising functions for the BLE API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
diff --git a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
index b6bad5c506a1ab3b6c7f7fe5f066df5b717b86db..f265505dd05e113f03e9de5eb65f79208e0f84e0 100644
--- a/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
+++ b/extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
@@ -268,6 +268,8 @@ class BluetoothLowEnergyEventRouter
device::BluetoothGattDescriptor* descriptor,
const std::vector<uint8>& value) override;
+ device::BluetoothAdapter* adapter() { return adapter_.get(); }
+
private:
// Called by BluetoothAdapterFactory.
void OnGetAdapter(const base::Closure& callback,

Powered by Google App Engine
This is Rietveld 408576698