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

Unified Diff: device/bluetooth/bluetooth_adapter.h

Issue 1256313002: bluetooth: android: Implement & test CreateGattConnection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added 2 more connect/disconnect test blocks Created 5 years, 3 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/bluetooth_adapter.h
diff --git a/device/bluetooth/bluetooth_adapter.h b/device/bluetooth/bluetooth_adapter.h
index 3c74ff9ad69f67ecbcd1449612c143b238bb1ac7..06c529532e6dd6719a4d3c1fcad04d94da45ee0f 100644
--- a/device/bluetooth/bluetooth_adapter.h
+++ b/device/bluetooth/bluetooth_adapter.h
@@ -386,6 +386,7 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
protected:
friend class base::RefCounted<BluetoothAdapter>;
friend class BluetoothDiscoverySession;
+ friend class BluetoothTestBase;
typedef std::map<const std::string, BluetoothDevice*> DevicesMap;
typedef std::pair<BluetoothDevice::PairingDelegate*, PairingDelegatePriority>
@@ -474,6 +475,8 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothAdapter
void DiscoverySessionBecameInactive(
BluetoothDiscoverySession* discovery_session);
+ void DeleteDeviceForTesting(const std::string& address);
+
// Observers of BluetoothAdapter, notified from implementation subclasses.
base::ObserverList<device::BluetoothAdapter::Observer> observers_;

Powered by Google App Engine
This is Rietveld 408576698