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

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

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/BluetoothRemoteGATTService.h" 5 #include "modules/bluetooth/BluetoothRemoteGATTService.h"
6 6
7 #include <utility>
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 "core/dom/ExceptionCode.h" 11 #include "core/dom/ExceptionCode.h"
11 #include "core/inspector/ConsoleMessage.h" 12 #include "core/inspector/ConsoleMessage.h"
12 #include "modules/bluetooth/Bluetooth.h" 13 #include "modules/bluetooth/Bluetooth.h"
13 #include "modules/bluetooth/BluetoothError.h" 14 #include "modules/bluetooth/BluetoothError.h"
14 #include "modules/bluetooth/BluetoothRemoteGATTCharacteristic.h" 15 #include "modules/bluetooth/BluetoothRemoteGATTCharacteristic.h"
15 #include "modules/bluetooth/BluetoothUUID.h" 16 #include "modules/bluetooth/BluetoothUUID.h"
16 #include "wtf/PtrUtil.h" 17 #include "platform/wtf/PtrUtil.h"
17 #include <utility>
18 18
19 namespace blink { 19 namespace blink {
20 20
21 BluetoothRemoteGATTService::BluetoothRemoteGATTService( 21 BluetoothRemoteGATTService::BluetoothRemoteGATTService(
22 mojom::blink::WebBluetoothRemoteGATTServicePtr service, 22 mojom::blink::WebBluetoothRemoteGATTServicePtr service,
23 bool is_primary, 23 bool is_primary,
24 const String& device_instance_id, 24 const String& device_instance_id,
25 BluetoothDevice* device) 25 BluetoothDevice* device)
26 : service_(std::move(service)), 26 : service_(std::move(service)),
27 is_primary_(is_primary), 27 is_primary_(is_primary),
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 service_->instance_id, quantity, characteristics_uuid, 149 service_->instance_id, quantity, characteristics_uuid,
150 ConvertToBaseCallback( 150 ConvertToBaseCallback(
151 WTF::Bind(&BluetoothRemoteGATTService::GetCharacteristicsCallback, 151 WTF::Bind(&BluetoothRemoteGATTService::GetCharacteristicsCallback,
152 WrapPersistent(this), service_->instance_id, 152 WrapPersistent(this), service_->instance_id,
153 characteristics_uuid, quantity, WrapPersistent(resolver)))); 153 characteristics_uuid, quantity, WrapPersistent(resolver))));
154 154
155 return promise; 155 return promise;
156 } 156 }
157 157
158 } // namespace blink 158 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698