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

Unified Diff: device/bluetooth/bluetooth_adapter_mac.mm

Issue 278663002: Implement chrome.bluetoothSocket.listenUsing*() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix BluetoothAdapterMac include typo Created 6 years, 7 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_mac.mm
diff --git a/device/bluetooth/bluetooth_adapter_mac.mm b/device/bluetooth/bluetooth_adapter_mac.mm
index fe5f88824d1eb54fbcf9b1ba43559521cf67846b..cf899cbc0783bb33eca9634913803f41ee778766 100644
--- a/device/bluetooth/bluetooth_adapter_mac.mm
+++ b/device/bluetooth/bluetooth_adapter_mac.mm
@@ -21,6 +21,8 @@
#include "base/thread_task_runner_handle.h"
#include "base/time/time.h"
#include "device/bluetooth/bluetooth_device_mac.h"
+#include "device/bluetooth/bluetooth_socket_mac.h"
+#include "device/bluetooth/bluetooth_uuid.h"
// Replicate specific 10.7 SDK declarations for building with prior SDKs.
#if !defined(MAC_OS_X_VERSION_10_7) || \
@@ -178,6 +180,25 @@ void BluetoothAdapterMac::ReadLocalOutOfBandPairingData(
const ErrorCallback& error_callback) {
}
+void BluetoothAdapterMac::CreateRfcommService(
+ const BluetoothUUID& uuid,
+ int channel,
+ bool insecure,
+ const CreateServiceCallback& callback,
+ const CreateServiceErrorCallback& error_callback) {
+ // TODO(keybuk): implement.
+ NOTIMPLEMENTED();
+}
+
+void BluetoothAdapterMac::CreateL2capService(
+ const BluetoothUUID& uuid,
+ int psm,
+ const CreateServiceCallback& callback,
+ const CreateServiceErrorCallback& error_callback) {
+ // TODO(keybuk): implement.
+ NOTIMPLEMENTED();
+}
+
void BluetoothAdapterMac::AddDiscoverySession(
const base::Closure& callback,
const ErrorCallback& error_callback) {

Powered by Google App Engine
This is Rietveld 408576698