Chromium Code Reviews| Index: content/browser/bluetooth/cache_query_result.h |
| diff --git a/content/browser/bluetooth/cache_query_result.h b/content/browser/bluetooth/cache_query_result.h |
| index 19c202f5f4bd202d2b8fef5a86c5e087a1487031..1f3b923863f1bd08efbb716817a540fd6fbfa265 100644 |
| --- a/content/browser/bluetooth/cache_query_result.h |
| +++ b/content/browser/bluetooth/cache_query_result.h |
| @@ -12,6 +12,7 @@ namespace device { |
| class BluetoothDevice; |
| class BluetoothRemoteGattService; |
| class BluetoothRemoteGattCharacteristic; |
| +class BluetoothRemoteGattDescriptor; |
|
ortuno
2016/12/02 06:14:50
nit: Similarly here. I don't think we need these c
dougt
2016/12/02 18:31:27
Done.
|
| } |
| namespace content { |
| @@ -40,6 +41,8 @@ struct CacheQueryResult { |
| case CacheQueryOutcome::NO_CHARACTERISTIC: |
| return blink::mojom::WebBluetoothResult:: |
| CHARACTERISTIC_NO_LONGER_EXISTS; |
| + case CacheQueryOutcome::NO_DESCRIPTOR: |
| + return blink::mojom::WebBluetoothResult::DESCRIPTOR_NO_LONGER_EXISTS; |
| } |
| NOTREACHED(); |
| return blink::mojom::WebBluetoothResult::DEVICE_NO_LONGER_IN_RANGE; |
| @@ -48,6 +51,7 @@ struct CacheQueryResult { |
| device::BluetoothDevice* device = nullptr; |
| device::BluetoothRemoteGattService* service = nullptr; |
| device::BluetoothRemoteGattCharacteristic* characteristic = nullptr; |
| + device::BluetoothRemoteGattDescriptor* descriptor = nullptr; |
| CacheQueryOutcome outcome; |
| }; |