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

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

Issue 2051333004: Implement BluetoothGattNotifySession::Stop on Android, 2nd attempt (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address new review comments 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_gatt_notify_session.h
diff --git a/device/bluetooth/test/mock_bluetooth_gatt_notify_session.h b/device/bluetooth/test/mock_bluetooth_gatt_notify_session.h
index 9d70333aa2f3ebe136c98b28bbbbc96215481668..a00ceccd6b36b6a0824fe728583de38f951de800 100644
--- a/device/bluetooth/test/mock_bluetooth_gatt_notify_session.h
+++ b/device/bluetooth/test/mock_bluetooth_gatt_notify_session.h
@@ -23,10 +23,9 @@ class MockBluetoothGattCharacteristic;
class MockBluetoothGattNotifySession : public BluetoothGattNotifySession {
public:
explicit MockBluetoothGattNotifySession(
- const std::string& characteristic_identifier);
+ base::WeakPtr<BluetoothRemoteGattCharacteristic> characteristic);
virtual ~MockBluetoothGattNotifySession();
- MOCK_CONST_METHOD0(GetCharacteristicIdentifier, std::string());
MOCK_METHOD0(IsActive, bool());
MOCK_METHOD1(Stop, void(const base::Closure&));

Powered by Google App Engine
This is Rietveld 408576698