Index: third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTService.idl |
diff --git a/third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTService.idl b/third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTService.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e74e31c33c841f485f73f8b686a4f7484353a78d |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTService.idl |
@@ -0,0 +1,11 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+[NoInterfaceObject] |
+interface FakeRemoteGATTService { |
+ [CallWith=ScriptState] Promise<FakeRemoteGATTCharacteristic> addFakeCharacteristic(FakeRemoteGATTCharacteristicOptions options); |
+ [CallWith=ScriptState] Promise<void> removeFakeCharacteristic(FakeRemoteGATTCharacteristic characteristic); |
+ [CallWith=ScriptState] Promise<FakeRemoteGATTService> addFakeIncludedService(FakeRemoteGATTServiceOptions options); |
+ [CallWith=ScriptState] Promise<void> removeFakeIncludedService(FakeRemoteGATTService service); |
+}; |