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

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

Issue 1926623002: bluetooth: Remove the device info and device class fields from BluetoothDevice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 f6e79ec5309353508ce49753971546b59a9ab62e..112a395580efcc3b3c6bafaf6cef9114f982c330 100644
--- a/device/bluetooth/test/mock_bluetooth_device.h
+++ b/device/bluetooth/test/mock_bluetooth_device.h
@@ -25,21 +25,15 @@ class MockBluetoothAdapter;
class MockBluetoothDevice : public BluetoothDevice {
public:
MockBluetoothDevice(MockBluetoothAdapter* adapter,
- uint32_t bluetooth_class,
ortuno 2016/04/27 20:16:41 I don't think you should remove these from these m
const std::string& name,
const std::string& address,
bool paired,
bool connected);
virtual ~MockBluetoothDevice();
- MOCK_CONST_METHOD0(GetBluetoothClass, uint32_t());
MOCK_CONST_METHOD0(GetDeviceName, std::string());
MOCK_CONST_METHOD0(GetIdentifier, std::string());
MOCK_CONST_METHOD0(GetAddress, std::string());
- MOCK_CONST_METHOD0(GetVendorIDSource, BluetoothDevice::VendorIDSource());
- MOCK_CONST_METHOD0(GetVendorID, uint16_t());
- MOCK_CONST_METHOD0(GetProductID, uint16_t());
- MOCK_CONST_METHOD0(GetDeviceID, uint16_t());
MOCK_CONST_METHOD0(GetName, base::string16());
MOCK_CONST_METHOD0(GetDeviceType, BluetoothDevice::DeviceType());
MOCK_CONST_METHOD0(GetAppearance, uint16_t());

Powered by Google App Engine
This is Rietveld 408576698