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

Unified Diff: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h

Issue 1277483007: Implement finding BLE connections in chrome://proximity-auth. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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: components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h
diff --git a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h
index 5d4cc52473d04d24caec269bb6bc2b25bbc39650..9dac836ad416c384e632797673758727f0311f1f 100644
--- a/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h
+++ b/components/proximity_auth/ble/bluetooth_low_energy_connection_finder.h
@@ -98,6 +98,10 @@ class BluetoothLowEnergyConnectionFinder
// Restarts the discovery session after creating |connection_| fails.
void RestartDiscoverySessionWhenReady();
+ // Used to invokes |connection_callback_| asynchronously, decoupling the
sacomoto 2015/08/10 19:40:28 nit: s/invokes/invoke/
Tim Song 2015/08/10 22:17:55 Done.
+ // callback invocation from the ConnectionObserver callstack.
+ void InvokeCallbackAsync();
+
// Returns the device with |device_address|.
device::BluetoothDevice* GetDevice(std::string device_address);

Powered by Google App Engine
This is Rietveld 408576698