Chromium Code Reviews| 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_device_mac.h" | 5 #include "device/bluetooth/bluetooth_device_mac.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 122 uuids.push_back(uuid); | 122 uuids.push_back(uuid); |
| 123 } | 123 } |
| 124 } | 124 } |
| 125 return uuids; | 125 return uuids; |
| 126 } | 126 } |
| 127 | 127 |
| 128 int16 BluetoothDeviceMac::GetInquiryRSSI() const { | 128 int16 BluetoothDeviceMac::GetInquiryRSSI() const { |
| 129 return kUnknownPower; | 129 return kUnknownPower; |
| 130 } | 130 } |
| 131 | 131 |
| 132 int16 BluetoothDeviceMac::GetInquiryTxPower() const { | |
|
armansito
2015/05/12 01:09:13
Add NOTIMPLEMENTED()
jpawlowski1
2015/05/12 08:11:01
Done.
| |
| 133 return kUnknownPower; | |
| 134 } | |
| 135 | |
| 132 bool BluetoothDeviceMac::ExpectingPinCode() const { | 136 bool BluetoothDeviceMac::ExpectingPinCode() const { |
| 133 NOTIMPLEMENTED(); | 137 NOTIMPLEMENTED(); |
| 134 return false; | 138 return false; |
| 135 } | 139 } |
| 136 | 140 |
| 137 bool BluetoothDeviceMac::ExpectingPasskey() const { | 141 bool BluetoothDeviceMac::ExpectingPasskey() const { |
| 138 NOTIMPLEMENTED(); | 142 NOTIMPLEMENTED(); |
| 139 return false; | 143 return false; |
| 140 } | 144 } |
| 141 | 145 |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 250 | 254 |
| 251 return power_level; | 255 return power_level; |
| 252 } | 256 } |
| 253 | 257 |
| 254 // static | 258 // static |
| 255 std::string BluetoothDeviceMac::GetDeviceAddress(IOBluetoothDevice* device) { | 259 std::string BluetoothDeviceMac::GetDeviceAddress(IOBluetoothDevice* device) { |
| 256 return CanonicalizeAddress(base::SysNSStringToUTF8([device addressString])); | 260 return CanonicalizeAddress(base::SysNSStringToUTF8([device addressString])); |
| 257 } | 261 } |
| 258 | 262 |
| 259 } // namespace device | 263 } // namespace device |
| OLD | NEW |