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

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

Issue 1632123003: Add cross platform Bluetooth testing fixture for Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « device/bluetooth/bluetooth_adapter_win.h ('k') | device/bluetooth/test/bluetooth_test_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 private: 70 private:
71 DEVPROPTYPE property_type_; 71 DEVPROPTYPE property_type_;
72 scoped_ptr<uint8_t[]> value_; 72 scoped_ptr<uint8_t[]> value_;
73 size_t value_size_; 73 size_t value_size_;
74 74
75 DISALLOW_COPY_AND_ASSIGN(DevicePropertyValue); 75 DISALLOW_COPY_AND_ASSIGN(DevicePropertyValue);
76 }; 76 };
77 77
78 // Returns true only on Windows platforms supporting Bluetooth Low Energy. 78 // Returns true only on Windows platforms supporting Bluetooth Low Energy.
79 bool IsBluetoothLowEnergySupported(); 79 bool DEVICE_BLUETOOTH_EXPORT IsBluetoothLowEnergySupported();
80 80
81 struct BluetoothLowEnergyServiceInfo { 81 struct BluetoothLowEnergyServiceInfo {
82 BluetoothLowEnergyServiceInfo(); 82 BluetoothLowEnergyServiceInfo();
83 ~BluetoothLowEnergyServiceInfo(); 83 ~BluetoothLowEnergyServiceInfo();
84 84
85 BTH_LE_UUID uuid; 85 BTH_LE_UUID uuid;
86 }; 86 };
87 87
88 struct BluetoothLowEnergyDeviceInfo { 88 struct BluetoothLowEnergyDeviceInfo {
89 BluetoothLowEnergyDeviceInfo(); 89 BluetoothLowEnergyDeviceInfo();
(...skipping 30 matching lines...) Expand all
120 bool DEVICE_BLUETOOTH_EXPORT 120 bool DEVICE_BLUETOOTH_EXPORT
121 ExtractBluetoothAddressFromDeviceInstanceIdForTesting( 121 ExtractBluetoothAddressFromDeviceInstanceIdForTesting(
122 const std::string& instance_id, 122 const std::string& instance_id,
123 BLUETOOTH_ADDRESS* btha, 123 BLUETOOTH_ADDRESS* btha,
124 std::string* error); 124 std::string* error);
125 125
126 } // namespace win 126 } // namespace win
127 } // namespace device 127 } // namespace device
128 128
129 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_ 129 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_adapter_win.h ('k') | device/bluetooth/test/bluetooth_test_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698