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

Side by Side Diff: third_party/WebKit/Source/modules/bluetooth/FakeRemoteGATTCharacteristic.idl

Issue 2716263002: DO NOT SUBMIT. Renderer side of Bluetooth Test API in blink C++ (Closed)
Patch Set: Created 3 years, 9 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 [NoInterfaceObject]
6 interface FakeRemoteGATTCharacteristic {
7 [CallWith=ScriptState] Promise<void> simulateRead(GATTResult gattResult, optio nal BufferSource value);
8 [CallWith=ScriptState] Promise<DataView> simulateWriteWithResponse(GATTResult gattResult);
9 [CallWith=ScriptState] Promise<void> simulateNotificationsStarted(GATTResult g attResult);
10 [CallWith=ScriptState] Promise<void> simulateNotificationsStopped(GATTResult g attResult);
11 [CallWith=ScriptState] Promise<void> simulateNotification(FakeNotificationOpti ons options);
12 [CallWith=ScriptState] Promise<FakeRemoteGATTDescriptor> addFakeDescriptor(Fak eRemoteGATTDescriptorOptions options);
13 [CallWith=ScriptState] Promise<void> removeFakeDescriptor(FakeRemoteGATTDescri ptor descriptor);
14 [CallWith=ScriptState] Promise<unsigned long> getReadCallsCount();
15 [CallWith=ScriptState] Promise<unsigned long> getWriteWithResponseCallsCount() ;
16 [CallWith=ScriptState] Promise<unsigned long> getWriteWithoutResponseCallsCoun t();
17 [CallWith=ScriptState] Promise<unsigned long> getStartNotificationsCallsCount( );
18 [CallWith=ScriptState] Promise<unsigned long> getStopNotificationsCallsCount() ;
19 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698