diff options
author | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-04 04:10:38 +0000 |
---|---|---|
committer | armansito@chromium.org <armansito@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-04 04:10:38 +0000 |
commit | 8148ad4c315725f995e52f91113203f0135add1b (patch) | |
tree | c60f826a8201e49537874e8f9ba399af1f3dbcaa /device/bluetooth/bluetooth_gatt_service.h | |
parent | b250f01e51eae5377a3419048b0fed2a17d4dea9 (diff) | |
download | chromium_src-8148ad4c315725f995e52f91113203f0135add1b.zip chromium_src-8148ad4c315725f995e52f91113203f0135add1b.tar.gz chromium_src-8148ad4c315725f995e52f91113203f0135add1b.tar.bz2 |
device/bluetooth: Rename device::bluetooth_utils::UUID to device::BluetoothUUID
Moved bluetooth_utils::UUID into its own file called bluetooth_uuid.h/cc as
class BluetoothUUID. This effectively removes the usage of
bluetooth_utils::CanonicalUuid.
This is a post-revert reupload of https://codereview.chromium.org/220323004/.
The CQ didn't run any Mac bots that build and run device_unittests.
BUG=358874
TEST=device_unittests, browser_tests
Review URL: https://codereview.chromium.org/224893002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261663 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/bluetooth/bluetooth_gatt_service.h')
-rw-r--r-- | device/bluetooth/bluetooth_gatt_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/device/bluetooth/bluetooth_gatt_service.h b/device/bluetooth/bluetooth_gatt_service.h index 963fdd5..4046a00 100644 --- a/device/bluetooth/bluetooth_gatt_service.h +++ b/device/bluetooth/bluetooth_gatt_service.h @@ -9,7 +9,7 @@ #include "base/basictypes.h" #include "base/callback.h" -#include "device/bluetooth/bluetooth_utils.h" +#include "device/bluetooth/bluetooth_uuid.h" namespace device { @@ -133,7 +133,7 @@ class BluetoothGattService { // Called when the UUID of |service| have changed. virtual void UuidChanged( BluetoothGattService* service, - const bluetooth_utils::UUID& uuid) {} + const BluetoothUUID& uuid) {} // Called when the services included by |service| have changed. virtual void IncludedServicesChanged( @@ -157,12 +157,12 @@ class BluetoothGattService { // peripheral role events. If |delegate| is NULL, then this service will // employ a default behavior when responding to read and write requests based // on the cached value of its characteristics and descriptors at a given time. - static BluetoothGattService* Create(const bluetooth_utils::UUID& uuid, + static BluetoothGattService* Create(const BluetoothUUID& uuid, bool is_primary, Delegate* delegate); // The Bluetooth-specific UUID of the service. - virtual const bluetooth_utils::UUID& GetUuid() const = 0; + virtual const BluetoothUUID& GetUuid() const = 0; // Returns true, if this service hosted locally. If false, then this service // represents a remote GATT service. |