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" |
11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
12 #include "base/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "device/bluetooth/bluetooth_out_of_band_pairing_data.h" | 13 #include "device/bluetooth/bluetooth_out_of_band_pairing_data.h" |
14 #include "device/bluetooth/bluetooth_profile_win.h" | 14 #include "device/bluetooth/bluetooth_profile_win.h" |
15 #include "device/bluetooth/bluetooth_service_record_win.h" | 15 #include "device/bluetooth/bluetooth_service_record_win.h" |
16 #include "device/bluetooth/bluetooth_socket_win.h" | 16 #include "device/bluetooth/bluetooth_socket_win.h" |
17 #include "device/bluetooth/bluetooth_task_manager_win.h" | 17 #include "device/bluetooth/bluetooth_task_manager_win.h" |
18 | 18 |
19 namespace { | 19 namespace { |
20 | 20 |
21 const int kSdpBytesBufferSize = 1024; | 21 const int kSdpBytesBufferSize = 1024; |
22 | 22 |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 const std::string& uuid) const { | 220 const std::string& uuid) const { |
221 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); | 221 for (ServiceRecordList::const_iterator iter = service_record_list_.begin(); |
222 iter != service_record_list_.end(); | 222 iter != service_record_list_.end(); |
223 ++iter) { | 223 ++iter) { |
224 return *iter; | 224 return *iter; |
225 } | 225 } |
226 return NULL; | 226 return NULL; |
227 } | 227 } |
228 | 228 |
229 } // namespace device | 229 } // namespace device |
OLD | NEW |