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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h

Issue 2565913002: [Onion Soup] Move WebBluetoothImpl from //content/renderer/bluetooth to Blink's bluetooth module (Closed)
Patch Set: renamed BluetoothUUID.typemap to Bluetooth.typemap Created 3 years, 12 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/BluetoothRemoteGATTServer.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h
index d15e116b65cd17f3af9d29ff51e06a3ffcf7b59b..1e33026ced286671b4a9bb5da65033ec7431b407 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTServer.h
@@ -9,7 +9,7 @@
#include "bindings/modules/v8/StringOrUnsignedLong.h"
#include "modules/bluetooth/BluetoothDevice.h"
#include "platform/heap/Heap.h"
-#include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h"
+#include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -69,6 +69,15 @@ class BluetoothRemoteGATTServer final
mojom::blink::WebBluetoothGATTQueryQuantity,
String serviceUUID = String());
+ void ConnectCallback(ScriptPromiseResolver*,
+ mojom::blink::WebBluetoothResult);
+ void GetPrimaryServicesCallback(
+ mojom::blink::WebBluetoothGATTQueryQuantity,
+ ScriptPromiseResolver*,
+ mojom::blink::WebBluetoothResult,
+ Optional<Vector<mojom::blink::WebBluetoothRemoteGATTServicePtr>>
+ services);
+
// Contains a ScriptPromiseResolver corresponding to each active algorithm
// using this server’s connection.
HeapHashSet<Member<ScriptPromiseResolver>> m_activeAlgorithms;

Powered by Google App Engine
This is Rietveld 408576698