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

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

Issue 1745273005: Add missing 'override' to BluetoothRemoteGattDescriptorWin destructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase? 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_REMOTE_GATT_DESCRIPTOR_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "device/bluetooth/bluetooth_gatt_descriptor.h" 10 #include "device/bluetooth/bluetooth_gatt_descriptor.h"
11 #include "device/bluetooth/bluetooth_low_energy_defs_win.h" 11 #include "device/bluetooth/bluetooth_low_energy_defs_win.h"
12 12
13 namespace device { 13 namespace device {
14 14
15 class BluetoothAdapterWin; 15 class BluetoothAdapterWin;
16 class BluetoothRemoteGattCharacteristicWin; 16 class BluetoothRemoteGattCharacteristicWin;
17 class BluetoothTaskManagerWin; 17 class BluetoothTaskManagerWin;
18 18
19 class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattDescriptorWin 19 class DEVICE_BLUETOOTH_EXPORT BluetoothRemoteGattDescriptorWin
20 : public BluetoothGattDescriptor { 20 : public BluetoothGattDescriptor {
21 public: 21 public:
22 BluetoothRemoteGattDescriptorWin( 22 BluetoothRemoteGattDescriptorWin(
23 BluetoothRemoteGattCharacteristicWin* parent_characteristic, 23 BluetoothRemoteGattCharacteristicWin* parent_characteristic,
24 BTH_LE_GATT_DESCRIPTOR* descriptor_info, 24 BTH_LE_GATT_DESCRIPTOR* descriptor_info,
25 scoped_refptr<base::SequencedTaskRunner>& ui_task_runner); 25 scoped_refptr<base::SequencedTaskRunner>& ui_task_runner);
26 ~BluetoothRemoteGattDescriptorWin(); 26 ~BluetoothRemoteGattDescriptorWin() override;
27 27
28 // Override BluetoothGattDescriptor interfaces. 28 // Override BluetoothGattDescriptor interfaces.
29 std::string GetIdentifier() const override; 29 std::string GetIdentifier() const override;
30 BluetoothUUID GetUUID() const override; 30 BluetoothUUID GetUUID() const override;
31 bool IsLocal() const override; 31 bool IsLocal() const override;
32 std::vector<uint8_t>& GetValue() const override; 32 std::vector<uint8_t>& GetValue() const override;
33 BluetoothGattCharacteristic* GetCharacteristic() const override; 33 BluetoothGattCharacteristic* GetCharacteristic() const override;
34 BluetoothGattCharacteristic::Permissions GetPermissions() const override; 34 BluetoothGattCharacteristic::Permissions GetPermissions() const override;
35 void ReadRemoteDescriptor(const ValueCallback& callback, 35 void ReadRemoteDescriptor(const ValueCallback& callback,
36 const ErrorCallback& error_callback) override; 36 const ErrorCallback& error_callback) override;
(...skipping 14 matching lines...) Expand all
51 BluetoothUUID descriptor_uuid_; 51 BluetoothUUID descriptor_uuid_;
52 std::string descriptor_identifier_; 52 std::string descriptor_identifier_;
53 std::vector<uint8_t> descriptor_value_; 53 std::vector<uint8_t> descriptor_value_;
54 54
55 base::WeakPtrFactory<BluetoothRemoteGattDescriptorWin> weak_ptr_factory_; 55 base::WeakPtrFactory<BluetoothRemoteGattDescriptorWin> weak_ptr_factory_;
56 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattDescriptorWin); 56 DISALLOW_COPY_AND_ASSIGN(BluetoothRemoteGattDescriptorWin);
57 }; 57 };
58 58
59 } // namespace device. 59 } // namespace device.
60 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_ 60 #endif // DEVICE_BLUETOOTH_BLUETOOTH_REMOTE_GATT_DESCRIPTOR_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698