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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.h

Issue 1272503002: Fixed 2 bugs so that RequestDevice() works for non-paired devices (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@test3
Patch Set: scheib fix 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
« no previous file with comments | « base/mac/sdk_forward_declarations.mm ('k') | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_low_energy_device_mac.h
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.h b/device/bluetooth/bluetooth_low_energy_device_mac.h
index ed1684602ef1eb5e2b89a8a6daa26502e7060912..2a341767ab30a6029846a1a7853dcfca0b8724c0 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.h
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.h
@@ -11,6 +11,8 @@
#import <IOBluetooth/IOBluetooth.h>
#endif // defined(OS_IOS)
+#include <set>
+
#include "base/mac/scoped_nsobject.h"
#include "base/mac/sdk_forward_declarations.h"
#include "crypto/sha2.h"
@@ -119,7 +121,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyDeviceMac
base::scoped_nsobject<NSDate> last_update_time_;
// The services (identified by UUIDs) that this device provides.
- UUIDList advertised_uuids_;
+ std::set<BluetoothUUID> advertised_uuids_;
DISALLOW_COPY_AND_ASSIGN(BluetoothLowEnergyDeviceMac);
};
« no previous file with comments | « base/mac/sdk_forward_declarations.mm ('k') | device/bluetooth/bluetooth_low_energy_device_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698