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

Unified Diff: device/bluetooth/bluetooth_adapter_unittest.cc

Issue 188473002: device/bluetooth: Remove BluetoothAdapter::Start|StopDiscovering. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed BluetoothAdapterWinTest compile errors. 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
« no previous file with comments | « device/bluetooth/bluetooth_adapter.cc ('k') | device/bluetooth/bluetooth_adapter_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_adapter_unittest.cc
diff --git a/device/bluetooth/bluetooth_adapter_unittest.cc b/device/bluetooth/bluetooth_adapter_unittest.cc
index f4653c2ca42c40b2c89b66d4d686d75263c4f5c9..aac32da3c12cbea039ba124c31f9d1cfb4939ffe 100644
--- a/device/bluetooth/bluetooth_adapter_unittest.cc
+++ b/device/bluetooth/bluetooth_adapter_unittest.cc
@@ -69,16 +69,19 @@ class TestBluetoothAdapter : public BluetoothAdapter {
return false;
}
- virtual void StartDiscovering(
- const base::Closure& callback,
+ virtual void StartDiscoverySession(
+ const DiscoverySessionCallback& callback,
const ErrorCallback& error_callback) OVERRIDE {
}
- virtual void StopDiscovering(
- const base::Closure& callback,
+ virtual void ReadLocalOutOfBandPairingData(
+ const BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& callback,
const ErrorCallback& error_callback) OVERRIDE {
}
+ protected:
+ virtual ~TestBluetoothAdapter() {}
+
virtual void AddDiscoverySession(
const base::Closure& callback,
const ErrorCallback& error_callback) OVERRIDE {
@@ -89,14 +92,6 @@ class TestBluetoothAdapter : public BluetoothAdapter {
const ErrorCallback& error_callback) OVERRIDE {
}
- virtual void ReadLocalOutOfBandPairingData(
- const BluetoothAdapter::BluetoothOutOfBandPairingDataCallback& callback,
- const ErrorCallback& error_callback) OVERRIDE {
- }
-
- protected:
- virtual ~TestBluetoothAdapter() {}
-
virtual void RemovePairingDelegateInternal(
BluetoothDevice::PairingDelegate* pairing_delegate) OVERRIDE {
}
« no previous file with comments | « device/bluetooth/bluetooth_adapter.cc ('k') | device/bluetooth/bluetooth_adapter_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698