| Index: device/bluetooth/bluetooth_device.h
|
| diff --git a/device/bluetooth/bluetooth_device.h b/device/bluetooth/bluetooth_device.h
|
| index fce46b1f9307bf67e6b1f2579b0a5d04fea5e2aa..aa0840e9f5d11105085f844851118444f7745221 100644
|
| --- a/device/bluetooth/bluetooth_device.h
|
| +++ b/device/bluetooth/bluetooth_device.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_vector.h"
|
| #include "base/strings/string16.h"
|
| +#include "device/bluetooth/bluetooth_uuid.h"
|
|
|
| namespace device {
|
|
|
| @@ -169,10 +170,6 @@ class BluetoothDevice {
|
| virtual void AuthorizePairing(BluetoothDevice* device) = 0;
|
| };
|
|
|
| - // Returns true if uuid is in a a valid canonical format
|
| - // (see utils::CanonicalUuid).
|
| - static bool IsUUIDValid(const std::string& uuid);
|
| -
|
| virtual ~BluetoothDevice();
|
|
|
| // Returns the Bluetooth class of the device, used by GetDeviceType()
|
| @@ -236,9 +233,7 @@ class BluetoothDevice {
|
| // devices this data is collected from both the EIR data and SDP tables,
|
| // for Low Energy devices this data is collected from AD and GATT primary
|
| // services, for dual mode devices this may be collected from both./
|
| - //
|
| - // All UUIDs are returned in the canonical 128-bit format.
|
| - typedef std::vector<std::string> UUIDList;
|
| + typedef std::vector<BluetoothUUID> UUIDList;
|
| virtual UUIDList GetUUIDs() const = 0;
|
|
|
| // The ErrorCallback is used for methods that can fail in which case it
|
|
|