| Index: content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
|
| diff --git a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
|
| index 2beaf6f3bfd7be38f04e74c449605e2734a61fad..999d3fe61c298d71b95b22e42dad88fbe27e765b 100644
|
| --- a/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
|
| +++ b/content/shell/browser/layout_test/layout_test_bluetooth_adapter_provider.h
|
| @@ -485,13 +485,19 @@ class LayoutTestBluetoothAdapterProvider {
|
| // callback with [1] which corresponds to chest.
|
| // - GetProperties: Returns
|
| // BluetoothGattCharacteristic::PROPERTY_READ
|
| + // - Body Sensor Location (0x2a38)
|
| + // - Mock Functions:
|
| + // - Read: Calls GattCharacteristicValueChanged and success
|
| + // callback with [2] which corresponds to wrist.
|
| + // - GetProperties: Returns
|
| + // BluetoothGattCharacteristic::PROPERTY_READ
|
| static scoped_ptr<testing::NiceMock<device::MockBluetoothGattService>>
|
| GetHeartRateService(device::MockBluetoothAdapter* adapter,
|
| device::MockBluetoothDevice* device);
|
|
|
| // Characteristics
|
|
|
| - // |BaseCharacteristic|(service, uuid)
|
| + // |BaseCharacteristic|(identifier, service, uuid)
|
| // Descriptors added:
|
| // None.
|
| // Mock Functions:
|
| @@ -501,7 +507,7 @@ class LayoutTestBluetoothAdapterProvider {
|
| // Returns the descriptor matching the identifier provided if the
|
| // descriptor was added to the characteristic.
|
| // - GetIdentifier:
|
| - // Returns: uuid + “ Identifier”
|
| + // Returns: identifier
|
| // - GetUUID:
|
| // Returns: uuid
|
| // - IsLocal:
|
| @@ -514,6 +520,7 @@ class LayoutTestBluetoothAdapterProvider {
|
| // Returns: NULL
|
| static scoped_ptr<testing::NiceMock<device::MockBluetoothGattCharacteristic>>
|
| GetBaseGATTCharacteristic(
|
| + const std::string& identifier,
|
| device::MockBluetoothGattService* service,
|
| const std::string& uuid,
|
| device::BluetoothGattCharacteristic::Properties properties);
|
|
|