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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTDescriptor.idl

Issue 2716263002: DO NOT SUBMIT. Renderer side of Bluetooth Test API in blink C++ (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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTDescriptor.idl
diff --git a/third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTDescriptor.idl b/third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTDescriptor.idl
new file mode 100644
index 0000000000000000000000000000000000000000..09912b21220bda11ec7cef9c2371c7f4a0696c00
--- /dev/null
+++ b/third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTDescriptor.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 FakeRemoteGATTDescriptor {
+ [CallWith=ScriptState] Promise<void> simulateRead(GATTResult gattResult, optional BufferSource value);
+ [CallWith=ScriptState] Promise<void> simulateWrite(GATTResult gattResult);
+ [CallWith=ScriptState] Promise<unsigned long> getReadCallsCount();
+ [CallWith=ScriptState] Promise<unsigned long> getWriteCallsCount();
+};

Powered by Google App Engine
This is Rietveld 408576698