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

Unified Diff: components/proximity_auth/bluetooth_util.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_util.h
diff --git a/components/proximity_auth/bluetooth_util.h b/components/proximity_auth/bluetooth_util.h
index 7bd94fc8e1380425d5c6e6b678f4cbea6e28ef2b..ec1c2cc56f7398f7956c2b258a01e7f3d062c56c 100644
--- a/components/proximity_auth/bluetooth_util.h
+++ b/components/proximity_auth/bluetooth_util.h
@@ -8,10 +8,9 @@
#include <string>
#include "base/callback_forward.h"
-#include "device/bluetooth/bluetooth_device.h"
-namespace device {
-class BluetoothUUID;
+namespace base {
+class TaskRunner;
}
namespace proximity_auth {
@@ -29,13 +28,6 @@ void SeekDeviceByAddress(const std::string& device_address,
const ErrorCallback& error_callback,
base::TaskRunner* task_runner);
-void ConnectToServiceInsecurely(
- device::BluetoothDevice* device,
- const device::BluetoothUUID& uuid,
- const device::BluetoothDevice::ConnectToServiceCallback& callback,
- const device::BluetoothDevice::ConnectToServiceErrorCallback&
- error_callback);
-
} // namespace bluetooth_util
} // namespace proximity_auth
« no previous file with comments | « components/proximity_auth/bluetooth_connection_unittest.cc ('k') | components/proximity_auth/bluetooth_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698