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

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

Issue 1728163006: Implement BluetoothRemoteGattCharacteristicWin::GetDescriptors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 4 years, 9 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 #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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 146
147 // Reads characteristics of |service| with service device path |service_path|. 147 // Reads characteristics of |service| with service device path |service_path|.
148 // The result will be stored in |*out_included_characteristics| and 148 // The result will be stored in |*out_included_characteristics| and
149 // |*out_counts|. 149 // |*out_counts|.
150 virtual HRESULT ReadCharacteristicsOfAService( 150 virtual HRESULT ReadCharacteristicsOfAService(
151 base::FilePath& service_path, 151 base::FilePath& service_path,
152 const PBTH_LE_GATT_SERVICE service, 152 const PBTH_LE_GATT_SERVICE service,
153 scoped_ptr<BTH_LE_GATT_CHARACTERISTIC>* out_included_characteristics, 153 scoped_ptr<BTH_LE_GATT_CHARACTERISTIC>* out_included_characteristics,
154 USHORT* out_counts); 154 USHORT* out_counts);
155 155
156 // Reads included descriptors of |characteristic| in service with service
157 // device path |service_path|. The result will be stored in
158 // |*out_included_descriptors| and |*out_counts|.
159 virtual HRESULT ReadDescriptorsOfACharacteristic(
160 base::FilePath& service_path,
161 const PBTH_LE_GATT_CHARACTERISTIC characteristic,
162 scoped_ptr<BTH_LE_GATT_DESCRIPTOR>* out_included_descriptors,
163 USHORT* out_counts);
164
156 protected: 165 protected:
157 BluetoothLowEnergyWrapper(); 166 BluetoothLowEnergyWrapper();
158 virtual ~BluetoothLowEnergyWrapper(); 167 virtual ~BluetoothLowEnergyWrapper();
159 }; 168 };
160 169
161 } // namespace win 170 } // namespace win
162 } // namespace device 171 } // namespace device
163 172
164 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_ 173 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_gatt_characteristic_unittest.cc ('k') | device/bluetooth/bluetooth_low_energy_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698