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 "device/bluetooth/bluetooth_low_energy_win.h" | 5 #include "device/bluetooth/bluetooth_low_energy_win.h" |
6 | 6 |
7 #include "base/files/file.h" | 7 #include "base/files/file.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/macros.h" |
9 #include "base/strings/sys_string_conversions.h" | 10 #include "base/strings/sys_string_conversions.h" |
10 #include "base/win/scoped_handle.h" | 11 #include "base/win/scoped_handle.h" |
11 #include "base/win/windows_version.h" | 12 #include "base/win/windows_version.h" |
12 | 13 |
13 namespace { | 14 namespace { |
14 | 15 |
15 using device::win::DeviceRegistryPropertyValue; | 16 using device::win::DeviceRegistryPropertyValue; |
16 using device::win::DevicePropertyValue; | 17 using device::win::DevicePropertyValue; |
17 using device::win::BluetoothLowEnergyDeviceInfo; | 18 using device::win::BluetoothLowEnergyDeviceInfo; |
18 using device::win::BluetoothLowEnergyServiceInfo; | 19 using device::win::BluetoothLowEnergyServiceInfo; |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 | 655 |
655 bool ExtractBluetoothAddressFromDeviceInstanceIdForTesting( | 656 bool ExtractBluetoothAddressFromDeviceInstanceIdForTesting( |
656 const std::string& instance_id, | 657 const std::string& instance_id, |
657 BLUETOOTH_ADDRESS* btha, | 658 BLUETOOTH_ADDRESS* btha, |
658 std::string* error) { | 659 std::string* error) { |
659 return ExtractBluetoothAddressFromDeviceInstanceId(instance_id, btha, error); | 660 return ExtractBluetoothAddressFromDeviceInstanceId(instance_id, btha, error); |
660 } | 661 } |
661 | 662 |
662 } // namespace win | 663 } // namespace win |
663 } // namespace device | 664 } // namespace device |
OLD | NEW |