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

Unified Diff: device/bluetooth/test/mock_bluetooth_device.h

Issue 2228953003: bluetooth: Change GetInquiryTxPower and GetInquiryRSSI to return optional. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: TIL value_or Created 4 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
Index: device/bluetooth/test/mock_bluetooth_device.h
diff --git a/device/bluetooth/test/mock_bluetooth_device.h b/device/bluetooth/test/mock_bluetooth_device.h
index a7ed03ab37cecceb288d769fda128b199e88c0e1..b70bfe584fe0034f6ce61a066268ce4648dcd219 100644
--- a/device/bluetooth/test/mock_bluetooth_device.h
+++ b/device/bluetooth/test/mock_bluetooth_device.h
@@ -52,8 +52,8 @@ class MockBluetoothDevice : public BluetoothDevice {
MOCK_CONST_METHOD0(IsConnectable, bool());
MOCK_CONST_METHOD0(IsConnecting, bool());
MOCK_CONST_METHOD0(GetUUIDs, UUIDList());
- MOCK_CONST_METHOD0(GetInquiryRSSI, int16_t());
- MOCK_CONST_METHOD0(GetInquiryTxPower, int16_t());
+ MOCK_CONST_METHOD0(GetInquiryRSSI, base::Optional<int8_t>());
+ MOCK_CONST_METHOD0(GetInquiryTxPower, base::Optional<int8_t>());
MOCK_CONST_METHOD0(ExpectingPinCode, bool());
MOCK_CONST_METHOD0(ExpectingPasskey, bool());
MOCK_CONST_METHOD0(ExpectingConfirmation, bool());
« no previous file with comments | « device/bluetooth/bluez/bluetooth_device_bluez.cc ('k') | extensions/browser/api/bluetooth/bluetooth_api_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698