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

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

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 #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 : m_device(device) {} 16 : m_device(device) {}
17 17
18 BluetoothRemoteGATTService* 18 BluetoothRemoteGATTService*
19 BluetoothAttributeInstanceMap::getOrCreateRemoteGATTService( 19 BluetoothAttributeInstanceMap::getOrCreateRemoteGATTService(
20 mojom::blink::WebBluetoothRemoteGATTServicePtr remoteGATTService, 20 mojom::blink::WebBluetoothRemoteGATTServicePtr remoteGATTService,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 DEFINE_TRACE(BluetoothAttributeInstanceMap) { 93 DEFINE_TRACE(BluetoothAttributeInstanceMap) {
94 visitor->trace(m_device); 94 visitor->trace(m_device);
95 visitor->trace(m_serviceIdToObject); 95 visitor->trace(m_serviceIdToObject);
96 visitor->trace(m_characteristicIdToObject); 96 visitor->trace(m_characteristicIdToObject);
97 visitor->trace(m_descriptorIdToObject); 97 visitor->trace(m_descriptorIdToObject);
98 } 98 }
99 99
100 } // namespace blink 100 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698