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

Unified Diff: components/proximity_auth/bluetooth_util.cc

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
« no previous file with comments | « components/proximity_auth/bluetooth_util.h ('k') | components/proximity_auth/bluetooth_util_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/proximity_auth/bluetooth_util.cc
diff --git a/components/proximity_auth/bluetooth_util.cc b/components/proximity_auth/bluetooth_util.cc
index 405dd235281e6695a43dda052ef9ab57f3288c5c..27b377c3b5dc2f3a22e2644e8d949f5465f2e0a6 100644
--- a/components/proximity_auth/bluetooth_util.cc
+++ b/components/proximity_auth/bluetooth_util.cc
@@ -8,8 +8,6 @@
#include "base/callback.h"
-using device::BluetoothDevice;
-
namespace proximity_auth {
namespace bluetooth_util {
namespace {
@@ -23,14 +21,6 @@ void SeekDeviceByAddress(const std::string& device_address,
error_callback.Run(kApiUnavailable);
}
-void ConnectToServiceInsecurely(
- BluetoothDevice* device,
- const device::BluetoothUUID& uuid,
- const BluetoothDevice::ConnectToServiceCallback& callback,
- const BluetoothDevice::ConnectToServiceErrorCallback& error_callback) {
- error_callback.Run(kApiUnavailable);
-}
-
} // namespace bluetooth_util
} // namespace proximity_auth
« no previous file with comments | « components/proximity_auth/bluetooth_util.h ('k') | components/proximity_auth/bluetooth_util_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698