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

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

Issue 1341103004: Handle change of BLE address after pairing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ***ADDED BY MISTAKE, OMMIT *** Created 5 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
diff --git a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
index 98d7d6498c22e76732c32aac0befe0cadb24c565..8be20ee62a07b2ba88cd9195f74884666f7ffc7a 100644
--- a/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
+++ b/chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h
@@ -316,12 +316,10 @@ class BluetoothLowEnergyEventRouter
const std::vector<uint8>& value);
// Called by BluetoothDevice in response to a call to CreateGattConnection.
- void OnCreateGattConnection(
- bool persistent,
- const std::string& extension_id,
- const std::string& device_address,
- const base::Closure& callback,
- scoped_ptr<device::BluetoothGattConnection> connection);
+ void OnCreateGattConnection(bool persistent,
+ const std::string& extension_id,
+ const std::string& device_address,
+ const base::Closure& callback);
// Called by BluetoothGattCharacteristic and BluetoothGattDescriptor in
// case of an error during the read/write operations.
@@ -404,11 +402,6 @@ class BluetoothLowEnergyEventRouter
// Bluetooth adapter of the system.
scoped_refptr<device::BluetoothAdapter> adapter_;
- // Set of extension ID + device addresses to which a connect/disconnect is
- // currently pending.
- std::set<std::string> connecting_devices_;
- std::set<std::string> disconnecting_devices_;
-
// Set of extension ID + characteristic ID to which a request to start a
// notify session is currently pending.
std::set<std::string> pending_session_calls_;
« no previous file with comments | « no previous file | chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698