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

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

Issue 2394473005: Move enum BluetoothDevice::DeviceType out of BluetoothDevice class. (Closed)
Patch Set: Created 4 years, 2 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.cc
diff --git a/device/bluetooth/test/mock_bluetooth_device.cc b/device/bluetooth/test/mock_bluetooth_device.cc
index b593da0ed961aa8c314433bd3739282cb4c8d6d4..9315ff545117ca28eed98621618057aa87d7a008 100644
--- a/device/bluetooth/test/mock_bluetooth_device.cc
+++ b/device/bluetooth/test/mock_bluetooth_device.cc
@@ -43,7 +43,7 @@ MockBluetoothDevice::MockBluetoothDevice(MockBluetoothAdapter* adapter,
.WillByDefault(testing::Return(
base::UTF8ToUTF16(name_ ? name_.value() : "Unnamed Device")));
ON_CALL(*this, GetDeviceType())
- .WillByDefault(testing::Return(DEVICE_UNKNOWN));
+ .WillByDefault(testing::Return(BluetoothDeviceType::UNKNOWN));
ON_CALL(*this, IsPaired())
.WillByDefault(testing::Return(paired));
ON_CALL(*this, IsConnected())
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_device.h ('k') | extensions/browser/api/bluetooth/bluetooth_api_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698