Index: Source/modules/bluetooth/BluetoothDiscovery.h |
diff --git a/Source/modules/bluetooth/BluetoothDiscovery.h b/Source/modules/bluetooth/BluetoothDiscovery.h |
index 7597eb29a832e1e7d6579f90932041bf6f1d5df9..fbc87d8b463d37ec9002baa25f166f0b7344ef52 100644 |
--- a/Source/modules/bluetooth/BluetoothDiscovery.h |
+++ b/Source/modules/bluetooth/BluetoothDiscovery.h |
@@ -12,6 +12,7 @@ namespace blink { |
class ScriptPromise; |
class ScriptState; |
+class BluetoothMock; |
class BluetoothDiscovery |
haraken
2014/10/18 11:25:56
Add final.
|
: public GarbageCollected<BluetoothDiscovery> |
@@ -20,7 +21,13 @@ class BluetoothDiscovery |
public: |
ScriptPromise requestDevice(ScriptState*); |
- void trace(Visitor*) { } |
+ void resetBluetoothMockForTesting(); |
+ BluetoothMock* getBluetoothMockForTesting() { return m_bluetoothMock.get(); } |
haraken
2014/10/18 11:25:56
Blink normally doesn't use "get".
getBluetoothMoc
|
+ |
+ void trace(Visitor*); |
+ |
+private: |
+ Member<BluetoothMock> m_bluetoothMock; |
}; |
} // namespace blink |