OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_win.h" | 5 #include "device/bluetooth/bluetooth_device_win.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/containers/scoped_ptr_hash_map.h" | 10 #include "base/containers/scoped_ptr_hash_map.h" |
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 } | 185 } |
186 | 186 |
187 BluetoothDevice::UUIDList BluetoothDeviceWin::GetUUIDs() const { | 187 BluetoothDevice::UUIDList BluetoothDeviceWin::GetUUIDs() const { |
188 return uuids_; | 188 return uuids_; |
189 } | 189 } |
190 | 190 |
191 int16 BluetoothDeviceWin::GetInquiryRSSI() const { | 191 int16 BluetoothDeviceWin::GetInquiryRSSI() const { |
192 return kUnknownPower; | 192 return kUnknownPower; |
193 } | 193 } |
194 | 194 |
| 195 int16 BluetoothDeviceWin::GetInquiryTxPower() const { |
| 196 NOTIMPLEMENTED(); |
| 197 return kUnknownPower; |
| 198 } |
| 199 |
195 bool BluetoothDeviceWin::ExpectingPinCode() const { | 200 bool BluetoothDeviceWin::ExpectingPinCode() const { |
196 NOTIMPLEMENTED(); | 201 NOTIMPLEMENTED(); |
197 return false; | 202 return false; |
198 } | 203 } |
199 | 204 |
200 bool BluetoothDeviceWin::ExpectingPasskey() const { | 205 bool BluetoothDeviceWin::ExpectingPasskey() const { |
201 NOTIMPLEMENTED(); | 206 NOTIMPLEMENTED(); |
202 return false; | 207 return false; |
203 } | 208 } |
204 | 209 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); | 284 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); |
280 iter != service_record_list_.end(); | 285 iter != service_record_list_.end(); |
281 ++iter) { | 286 ++iter) { |
282 if ((*iter)->uuid() == uuid) | 287 if ((*iter)->uuid() == uuid) |
283 return *iter; | 288 return *iter; |
284 } | 289 } |
285 return NULL; | 290 return NULL; |
286 } | 291 } |
287 | 292 |
288 } // namespace device | 293 } // namespace device |
OLD | NEW |