OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "device/bluetooth/bluetooth_device_mac.h" |
| 6 |
| 7 #include <string> |
| 8 |
| 9 #include "base/basictypes.h" |
| 10 #include "device/bluetooth/bluetooth_out_of_band_pairing_data.h" |
| 11 #include "device/bluetooth/bluetooth_service_record_mac.h" |
| 12 |
| 13 namespace device { |
| 14 |
| 15 BluetoothDeviceMac::BluetoothDeviceMac() |
| 16 : BluetoothDevice() { |
| 17 } |
| 18 |
| 19 BluetoothDeviceMac::~BluetoothDeviceMac() { |
| 20 } |
| 21 |
| 22 bool BluetoothDeviceMac::IsPaired() const { |
| 23 return false; |
| 24 } |
| 25 |
| 26 const BluetoothDevice::ServiceList& BluetoothDeviceMac::GetServices() const { |
| 27 return service_uuids_; |
| 28 } |
| 29 |
| 30 void BluetoothDeviceMac::GetServiceRecords( |
| 31 const ServiceRecordsCallback& callback, |
| 32 const ErrorCallback& error_callback) { |
| 33 } |
| 34 |
| 35 void BluetoothDeviceMac::ProvidesServiceWithName( |
| 36 const std::string& name, |
| 37 const ProvidesServiceCallback& callback) { |
| 38 } |
| 39 |
| 40 bool BluetoothDeviceMac::ExpectingPinCode() const { |
| 41 NOTIMPLEMENTED(); |
| 42 return false; |
| 43 } |
| 44 |
| 45 bool BluetoothDeviceMac::ExpectingPasskey() const { |
| 46 NOTIMPLEMENTED(); |
| 47 return false; |
| 48 } |
| 49 |
| 50 bool BluetoothDeviceMac::ExpectingConfirmation() const { |
| 51 NOTIMPLEMENTED(); |
| 52 return false; |
| 53 } |
| 54 |
| 55 void BluetoothDeviceMac::Connect( |
| 56 PairingDelegate* pairing_delegate, |
| 57 const base::Closure& callback, |
| 58 const ConnectErrorCallback& error_callback) { |
| 59 NOTIMPLEMENTED(); |
| 60 } |
| 61 |
| 62 void BluetoothDeviceMac::SetPinCode(const std::string& pincode) { |
| 63 NOTIMPLEMENTED(); |
| 64 } |
| 65 |
| 66 void BluetoothDeviceMac::SetPasskey(uint32 passkey) { |
| 67 NOTIMPLEMENTED(); |
| 68 } |
| 69 |
| 70 void BluetoothDeviceMac::ConfirmPairing() { |
| 71 NOTIMPLEMENTED(); |
| 72 } |
| 73 |
| 74 void BluetoothDeviceMac::RejectPairing() { |
| 75 NOTIMPLEMENTED(); |
| 76 } |
| 77 |
| 78 void BluetoothDeviceMac::CancelPairing() { |
| 79 NOTIMPLEMENTED(); |
| 80 } |
| 81 |
| 82 void BluetoothDeviceMac::Disconnect( |
| 83 const base::Closure& callback, |
| 84 const ErrorCallback& error_callback) { |
| 85 NOTIMPLEMENTED(); |
| 86 } |
| 87 |
| 88 void BluetoothDeviceMac::Forget(const ErrorCallback& error_callback) { |
| 89 NOTIMPLEMENTED(); |
| 90 } |
| 91 |
| 92 void BluetoothDeviceMac::ConnectToService( |
| 93 const std::string& service_uuid, |
| 94 const SocketCallback& callback) { |
| 95 } |
| 96 |
| 97 void BluetoothDeviceMac::SetOutOfBandPairingData( |
| 98 const BluetoothOutOfBandPairingData& data, |
| 99 const base::Closure& callback, |
| 100 const ErrorCallback& error_callback) { |
| 101 NOTIMPLEMENTED(); |
| 102 } |
| 103 |
| 104 void BluetoothDeviceMac::ClearOutOfBandPairingData( |
| 105 const base::Closure& callback, |
| 106 const ErrorCallback& error_callback) { |
| 107 NOTIMPLEMENTED(); |
| 108 } |
| 109 |
| 110 } // namespace device |
OLD | NEW |