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

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

Issue 278663002: Implement chrome.bluetoothSocket.listenUsing*() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix BluetoothAdapterMac include typo 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_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();
« device/bluetooth/bluetooth_socket_mac.h ('K') | « device/bluetooth/test/mock_bluetooth_adapter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698