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

Unified Diff: trunk/src/device/bluetooth/test/mock_bluetooth_adapter.h

Issue 188663003: Revert 255262 "Migrate chrome.bluetooth API backend to use devic..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 9 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: trunk/src/device/bluetooth/test/mock_bluetooth_adapter.h
===================================================================
--- trunk/src/device/bluetooth/test/mock_bluetooth_adapter.h (revision 255369)
+++ trunk/src/device/bluetooth/test/mock_bluetooth_adapter.h (working copy)
@@ -52,9 +52,6 @@
const base::Closure& callback,
const ErrorCallback& error_callback));
MOCK_CONST_METHOD0(IsDiscovering, bool());
- MOCK_METHOD2(StartDiscoverySession,
- void(const DiscoverySessionCallback& callback,
- const ErrorCallback& error_callback));
MOCK_METHOD2(StartDiscovering,
void(const base::Closure& callback,
const ErrorCallback& error_callback));
@@ -77,10 +74,12 @@
MOCK_METHOD0(DefaultPairingDelegate, BluetoothDevice::PairingDelegate*());
protected:
- virtual void AddDiscoverySession(const base::Closure& callback,
- const ErrorCallback& error_callback);
- virtual void RemoveDiscoverySession(const base::Closure& callback,
- const ErrorCallback& error_callback);
+ MOCK_METHOD2(AddDiscoverySession,
+ void(const base::Closure& callback,
+ const ErrorCallback& error_callback));
+ MOCK_METHOD2(RemoveDiscoverySession,
+ void(const base::Closure& callback,
+ const ErrorCallback& error_callback));
virtual ~MockBluetoothAdapter();
MOCK_METHOD1(RemovePairingDelegateInternal,
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_discovery_session.cc ('k') | trunk/src/device/bluetooth/test/mock_bluetooth_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698