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

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

Issue 273953002: Hook up RSSI and host transmit power Bluetooth device properties for ChromeOS. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Start connection monitor when connected through chrome.bluetooth API Created 6 years, 7 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 5a6af5c91ea5108c7fb6fc3e4b250603911f7dce..00736852ca6e2588f6aaf1a47da36820c6d922a0 100644
--- a/device/bluetooth/test/mock_bluetooth_device.h
+++ b/device/bluetooth/test/mock_bluetooth_device.h
@@ -79,6 +79,12 @@ class MockBluetoothDevice : public BluetoothDevice {
MOCK_METHOD2(ClearOutOfBandPairingData,
void(const base::Closure& callback,
const BluetoothDevice::ErrorCallback& error_callback));
+ MOCK_METHOD2(StartConnectionMonitor,
+ void(const base::Closure& callback,
+ const BluetoothDevice::ErrorCallback& error_callback));
+ MOCK_METHOD2(StopConnectionMonitor,
+ void(const base::Closure& callback,
+ const BluetoothDevice::ErrorCallback& error_callback));
MOCK_CONST_METHOD0(GetGattServices, std::vector<BluetoothGattService*>());
MOCK_CONST_METHOD1(GetGattService, BluetoothGattService*(const std::string&));
« device/bluetooth/bluetooth_device.h ('K') | « device/bluetooth/bluetooth_device_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698