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

Unified Diff: components/proximity_auth/bluetooth_connection.h

Issue 652403002: [Clean up] Expose ConnectToServiceInsecurely as a BluetoothDevice API on all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase: Restore deps rather than public_deps Created 6 years, 2 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: components/proximity_auth/bluetooth_connection.h
diff --git a/components/proximity_auth/bluetooth_connection.h b/components/proximity_auth/bluetooth_connection.h
index 8b09a6f6ab9fb82eb4911795d3f34c1475c7e88b..ebe4f8dd9b6f0ebd9ca3022660707b9946a68530 100644
--- a/components/proximity_auth/bluetooth_connection.h
+++ b/components/proximity_auth/bluetooth_connection.h
@@ -45,14 +45,6 @@ class BluetoothConnection : public Connection,
virtual void DeviceRemoved(device::BluetoothAdapter* adapter,
device::BluetoothDevice* device) override;
- // Exposed for testing.
- virtual void ConnectToService(
- device::BluetoothDevice* device,
- const device::BluetoothUUID& uuid,
- const device::BluetoothDevice::ConnectToServiceCallback& callback,
- const device::BluetoothDevice::ConnectToServiceErrorCallback&
- error_callback);
-
private:
// Registers receive callbacks with the backing |socket_|.
void StartReceive();

Powered by Google App Engine
This is Rietveld 408576698