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

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

Issue 1922473002: Remove unnecessary ExceptionCode.h inclusion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/BluetoothDevice.h" 5 #include "modules/bluetooth/BluetoothDevice.h"
6 6
7 #include "bindings/core/v8/CallbackPromiseAdapter.h" 7 #include "bindings/core/v8/CallbackPromiseAdapter.h"
8 #include "bindings/core/v8/ScriptPromise.h" 8 #include "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptPromiseResolver.h" 9 #include "bindings/core/v8/ScriptPromiseResolver.h"
10 #include "core/dom/DOMException.h" 10 #include "core/dom/DOMException.h"
11 #include "core/dom/ExceptionCode.h"
12 #include "core/events/Event.h" 11 #include "core/events/Event.h"
13 #include "modules/bluetooth/BluetoothError.h" 12 #include "modules/bluetooth/BluetoothError.h"
14 #include "modules/bluetooth/BluetoothRemoteGATTServer.h" 13 #include "modules/bluetooth/BluetoothRemoteGATTServer.h"
15 #include "modules/bluetooth/BluetoothSupplement.h" 14 #include "modules/bluetooth/BluetoothSupplement.h"
16 #include "public/platform/modules/bluetooth/WebBluetooth.h" 15 #include "public/platform/modules/bluetooth/WebBluetooth.h"
17 16
18 namespace blink { 17 namespace blink {
19 18
20 BluetoothDevice::BluetoothDevice(ExecutionContext* context, PassOwnPtr<WebBlueto othDevice> webDevice) 19 BluetoothDevice::BluetoothDevice(ExecutionContext* context, PassOwnPtr<WebBlueto othDevice> webDevice)
21 : ActiveDOMObject(context) 20 : ActiveDOMObject(context)
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 uuids[i] = m_webDevice->uuids[i]; 114 uuids[i] = m_webDevice->uuids[i];
116 return uuids; 115 return uuids;
117 } 116 }
118 117
119 ScriptPromise BluetoothDevice::connectGATT(ScriptState* scriptState) 118 ScriptPromise BluetoothDevice::connectGATT(ScriptState* scriptState)
120 { 119 {
121 return m_gatt->connect(scriptState); 120 return m_gatt->connect(scriptState);
122 } 121 }
123 122
124 } // namespace blink 123 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/workers/SharedWorker.cpp ('k') | third_party/WebKit/Source/modules/cachestorage/Cache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698