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/logging.h" | 10 #include "base/logging.h" |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 const ErrorCallback& error_callback) { | 227 const ErrorCallback& error_callback) { |
228 NOTIMPLEMENTED(); | 228 NOTIMPLEMENTED(); |
229 } | 229 } |
230 | 230 |
231 void BluetoothDeviceWin::ClearOutOfBandPairingData( | 231 void BluetoothDeviceWin::ClearOutOfBandPairingData( |
232 const base::Closure& callback, | 232 const base::Closure& callback, |
233 const ErrorCallback& error_callback) { | 233 const ErrorCallback& error_callback) { |
234 NOTIMPLEMENTED(); | 234 NOTIMPLEMENTED(); |
235 } | 235 } |
236 | 236 |
| 237 void BluetoothDeviceWin::StartConnectionMonitor( |
| 238 const base::Closure& callback, |
| 239 const ErrorCallback& error_callback) { |
| 240 NOTIMPLEMENTED(); |
| 241 } |
| 242 |
237 const BluetoothServiceRecord* BluetoothDeviceWin::GetServiceRecord( | 243 const BluetoothServiceRecord* BluetoothDeviceWin::GetServiceRecord( |
238 const device::BluetoothUUID& uuid) const { | 244 const device::BluetoothUUID& uuid) const { |
239 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); | 245 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); |
240 iter != service_record_list_.end(); | 246 iter != service_record_list_.end(); |
241 ++iter) { | 247 ++iter) { |
242 if ((*iter)->uuid() == uuid) | 248 if ((*iter)->uuid() == uuid) |
243 return *iter; | 249 return *iter; |
244 } | 250 } |
245 return NULL; | 251 return NULL; |
246 } | 252 } |
247 | 253 |
248 } // namespace device | 254 } // namespace device |
OLD | NEW |