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/bluetooth_test_mac.h

Issue 2071853002: Revert of bluetooth: mac: Initial BluetoothRemoteGattCharacteristicMac implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@servicescan_cleanup
Patch Set: Created 4 years, 6 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/bluetooth_test_mac.h
diff --git a/device/bluetooth/test/bluetooth_test_mac.h b/device/bluetooth/test/bluetooth_test_mac.h
index a323131c18dcba10b1b17f33fc97059cc0731b38..f725bba35df3a9f24414ae7c98f3af53d7acef39 100644
--- a/device/bluetooth/test/bluetooth_test_mac.h
+++ b/device/bluetooth/test/bluetooth_test_mac.h
@@ -9,12 +9,6 @@
#include "base/test/test_simple_task_runner.h"
#include "device/bluetooth/test/bluetooth_test.h"
-
-#if __OBJC__
-@class MockCBPeripheral;
-#else // __OBJC__
-class MockCBPeripheral;
-#endif // __OBJC__
namespace device {
@@ -47,12 +41,6 @@
BluetoothDevice* device,
const std::vector<std::string>& uuids) override;
void SimulateGattServiceRemoved(BluetoothRemoteGattService* service) override;
- void SimulateGattCharacteristic(BluetoothRemoteGattService* service,
- const std::string& uuid,
- int properties) override;
- void SimulateGattCharacteristicRemoved(
- BluetoothRemoteGattService* service,
- BluetoothRemoteGattCharacteristic* characteristic) override;
// Callback for the bluetooth central manager mock.
void OnFakeBluetoothDeviceConnectGattCalled();
@@ -63,10 +51,6 @@
protected:
class ScopedMockCentralManager;
-
- // Returns MockCBPeripheral from BluetoothRemoteGattService.
- MockCBPeripheral* GetMockCBPeripheral(
- BluetoothRemoteGattService* service) const;
// Utility function for finding CBUUIDs with relatively nice SHA256 hashes.
std::string FindCBUUIDForHashTarget();
« no previous file with comments | « device/bluetooth/bluetooth_remote_gatt_service_unittest.cc ('k') | device/bluetooth/test/bluetooth_test_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698