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

Side by Side Diff: device/bluetooth/bluetooth_socket_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698