OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "device/bluetooth/bluetooth_socket_mac.h" | 5 #include "device/bluetooth/bluetooth_socket_mac.h" |
6 | 6 |
7 #import <IOBluetooth/IOBluetooth.h> | 7 #import <IOBluetooth/IOBluetooth.h> |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 #include <sstream> | 10 #include <sstream> |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
401 | 401 |
402 if (receive_callbacks_) { | 402 if (receive_callbacks_) { |
403 scoped_ptr<ReceiveCallbacks> temp = receive_callbacks_.Pass(); | 403 scoped_ptr<ReceiveCallbacks> temp = receive_callbacks_.Pass(); |
404 temp->error_callback.Run(BluetoothSocket::kDisconnected, | 404 temp->error_callback.Run(BluetoothSocket::kDisconnected, |
405 kSocketNotConnected); | 405 kSocketNotConnected); |
406 } | 406 } |
407 | 407 |
408 ReleaseChannel(); | 408 ReleaseChannel(); |
409 } | 409 } |
410 | 410 |
| 411 void BluetoothSocketMac::Accept( |
| 412 const AcceptCompletionCallback& success_callback, |
| 413 const ErrorCompletionCallback& error_callback) { |
| 414 NOTIMPLEMENTED(); |
| 415 } |
| 416 |
411 } // namespace device | 417 } // namespace device |
OLD | NEW |