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

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

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 #include "modules/bluetooth/BluetoothAttributeInstanceMap.h" 5 #include "modules/bluetooth/BluetoothAttributeInstanceMap.h"
6 6
7 #include <memory>
8 #include <utility>
7 #include "modules/bluetooth/BluetoothDevice.h" 9 #include "modules/bluetooth/BluetoothDevice.h"
8 #include "modules/bluetooth/BluetoothRemoteGATTService.h" 10 #include "modules/bluetooth/BluetoothRemoteGATTService.h"
9 #include <memory>
10 #include <utility>
11 11
12 namespace blink { 12 namespace blink {
13 13
14 BluetoothAttributeInstanceMap::BluetoothAttributeInstanceMap( 14 BluetoothAttributeInstanceMap::BluetoothAttributeInstanceMap(
15 BluetoothDevice* device) 15 BluetoothDevice* device)
16 : device_(device) {} 16 : device_(device) {}
17 17
18 BluetoothRemoteGATTService* 18 BluetoothRemoteGATTService*
19 BluetoothAttributeInstanceMap::GetOrCreateRemoteGATTService( 19 BluetoothAttributeInstanceMap::GetOrCreateRemoteGATTService(
20 mojom::blink::WebBluetoothRemoteGATTServicePtr remote_gatt_service, 20 mojom::blink::WebBluetoothRemoteGATTServicePtr remote_gatt_service,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 } 92 }
93 93
94 DEFINE_TRACE(BluetoothAttributeInstanceMap) { 94 DEFINE_TRACE(BluetoothAttributeInstanceMap) {
95 visitor->Trace(device_); 95 visitor->Trace(device_);
96 visitor->Trace(service_id_to_object_); 96 visitor->Trace(service_id_to_object_);
97 visitor->Trace(characteristic_id_to_object_); 97 visitor->Trace(characteristic_id_to_object_);
98 visitor->Trace(descriptor_id_to_object_); 98 visitor->Trace(descriptor_id_to_object_);
99 } 99 }
100 100
101 } // namespace blink 101 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698