Index: device/bluetooth/test/mock_bluetooth_socket.h |
diff --git a/device/bluetooth/test/mock_bluetooth_socket.h b/device/bluetooth/test/mock_bluetooth_socket.h |
index f9904784aaacb6da1f4c00fef33bf739a94e723e..2d74cd71a6065473005f2d3ccf1d8167dc53e658 100644 |
--- a/device/bluetooth/test/mock_bluetooth_socket.h |
+++ b/device/bluetooth/test/mock_bluetooth_socket.h |
@@ -8,6 +8,7 @@ |
#include <string> |
#include "device/bluetooth/bluetooth_socket.h" |
+#include "device/bluetooth/bluetooth_uuid.h" |
#include "net/base/io_buffer.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -27,6 +28,9 @@ class MockBluetoothSocket : public BluetoothSocket { |
int buffer_size, |
const SendCompletionCallback& success_callback, |
const ErrorCompletionCallback& error_callback)); |
+ MOCK_METHOD2(Accept, |
+ void(const AcceptCompletionCallback& success_callback, |
+ const ErrorCompletionCallback& error_callback)); |
protected: |
virtual ~MockBluetoothSocket(); |