Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(744)

Side by Side Diff: device/bluetooth/bluetooth_low_energy_win.cc

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win.h ('k') | device/bluetooth/bluetooth_low_energy_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698