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

Side by Side Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTDescriptor.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/BluetoothRemoteGATTDescriptor.h" 5 #include "modules/bluetooth/BluetoothRemoteGATTDescriptor.h"
6 6
7 #include <memory>
7 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
8 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
9 #include "core/dom/DOMException.h" 10 #include "core/dom/DOMException.h"
10 #include "modules/bluetooth/BluetoothError.h" 11 #include "modules/bluetooth/BluetoothError.h"
11 #include "modules/bluetooth/BluetoothRemoteGATTService.h" 12 #include "modules/bluetooth/BluetoothRemoteGATTService.h"
12 #include "modules/bluetooth/BluetoothRemoteGATTUtils.h" 13 #include "modules/bluetooth/BluetoothRemoteGATTUtils.h"
13 #include <memory>
14 14
15 namespace blink { 15 namespace blink {
16 16
17 BluetoothRemoteGATTDescriptor::BluetoothRemoteGATTDescriptor( 17 BluetoothRemoteGATTDescriptor::BluetoothRemoteGATTDescriptor(
18 mojom::blink::WebBluetoothRemoteGATTDescriptorPtr descriptor, 18 mojom::blink::WebBluetoothRemoteGATTDescriptorPtr descriptor,
19 BluetoothRemoteGATTCharacteristic* characteristic) 19 BluetoothRemoteGATTCharacteristic* characteristic)
20 : descriptor_(std::move(descriptor)), characteristic_(characteristic) {} 20 : descriptor_(std::move(descriptor)), characteristic_(characteristic) {}
21 21
22 BluetoothRemoteGATTDescriptor* BluetoothRemoteGATTDescriptor::Create( 22 BluetoothRemoteGATTDescriptor* BluetoothRemoteGATTDescriptor::Create(
23 mojom::blink::WebBluetoothRemoteGATTDescriptorPtr descriptor, 23 mojom::blink::WebBluetoothRemoteGATTDescriptorPtr descriptor,
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 " is no longer valid. Remember to retrieve the Descriptor again " 152 " is no longer valid. Remember to retrieve the Descriptor again "
153 "after reconnecting."); 153 "after reconnecting.");
154 } 154 }
155 155
156 DEFINE_TRACE(BluetoothRemoteGATTDescriptor) { 156 DEFINE_TRACE(BluetoothRemoteGATTDescriptor) {
157 visitor->Trace(characteristic_); 157 visitor->Trace(characteristic_);
158 visitor->Trace(value_); 158 visitor->Trace(value_);
159 } 159 }
160 160
161 } // namespace blink 161 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698