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

Side by Side Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothAttributeInstanceMap.h

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 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 BluetoothAttributeInstanceMap_h 5 #ifndef BluetoothAttributeInstanceMap_h
6 #define BluetoothAttributeInstanceMap_h 6 #define BluetoothAttributeInstanceMap_h
7 7
8 #include <memory>
8 #include "modules/bluetooth/BluetoothRemoteGATTCharacteristic.h" 9 #include "modules/bluetooth/BluetoothRemoteGATTCharacteristic.h"
9 #include "modules/bluetooth/BluetoothRemoteGATTDescriptor.h" 10 #include "modules/bluetooth/BluetoothRemoteGATTDescriptor.h"
10 #include "modules/bluetooth/BluetoothRemoteGATTService.h" 11 #include "modules/bluetooth/BluetoothRemoteGATTService.h"
11 #include "platform/heap/Handle.h" 12 #include "platform/heap/Handle.h"
12 #include "platform/heap/Heap.h" 13 #include "platform/heap/Heap.h"
13 #include <memory>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class BluetoothDevice; 17 class BluetoothDevice;
18 class ExecutionContext; 18 class ExecutionContext;
19 19
20 // Map that holds all GATT attributes, i.e. BluetoothRemoteGATTService, 20 // Map that holds all GATT attributes, i.e. BluetoothRemoteGATTService,
21 // BluetoothRemoteGATTCharacteristic, BluetoothRemoteGATTDescriptor, for 21 // BluetoothRemoteGATTCharacteristic, BluetoothRemoteGATTDescriptor, for
22 // the BluetoothDevice passed in when constructing the object. 22 // the BluetoothDevice passed in when constructing the object.
23 // Methods in this map are used to create or retrieve these attributes. 23 // Methods in this map are used to create or retrieve these attributes.
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 HeapHashMap<String, Member<BluetoothRemoteGATTCharacteristic>> 79 HeapHashMap<String, Member<BluetoothRemoteGATTCharacteristic>>
80 m_characteristicIdToObject; 80 m_characteristicIdToObject;
81 // Map of descriptor instance ids to objects. 81 // Map of descriptor instance ids to objects.
82 HeapHashMap<String, Member<BluetoothRemoteGATTDescriptor>> 82 HeapHashMap<String, Member<BluetoothRemoteGATTDescriptor>>
83 m_descriptorIdToObject; 83 m_descriptorIdToObject;
84 }; 84 };
85 85
86 } // namespace blink 86 } // namespace blink
87 87
88 #endif // BluetoothAttributeInstanceMap_h 88 #endif // BluetoothAttributeInstanceMap_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698