| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "components/proximity_auth/bluetooth_util.h" | 5 #include "components/proximity_auth/bluetooth_util.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 7 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string.h> |
| 8 #include <sys/socket.h> | 10 #include <sys/socket.h> |
| 9 #include <algorithm> | 11 #include <algorithm> |
| 10 #include <vector> | 12 #include <vector> |
| 11 | 13 |
| 12 #include "base/bind.h" | 14 #include "base/bind.h" |
| 13 #include "base/callback.h" | 15 #include "base/callback.h" |
| 14 #include "base/location.h" | 16 #include "base/location.h" |
| 15 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 16 #include "base/numerics/safe_conversions.h" | 18 #include "base/numerics/safe_conversions.h" |
| 17 #include "base/strings/string_number_conversions.h" | 19 #include "base/strings/string_number_conversions.h" |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 task_runner, | 152 task_runner, |
| 151 FROM_HERE, | 153 FROM_HERE, |
| 152 base::Bind(&SeekDeviceByAddressImpl, | 154 base::Bind(&SeekDeviceByAddressImpl, |
| 153 device_address, | 155 device_address, |
| 154 make_scoped_refptr(task_runner)), | 156 make_scoped_refptr(task_runner)), |
| 155 base::Bind(&OnSeekDeviceResult, callback, error_callback)); | 157 base::Bind(&OnSeekDeviceResult, callback, error_callback)); |
| 156 } | 158 } |
| 157 | 159 |
| 158 } // namespace bluetooth_util | 160 } // namespace bluetooth_util |
| 159 } // namespace proximity_auth | 161 } // namespace proximity_auth |
| OLD | NEW |