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

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

Issue 2142813003: bluetooth: Avoid including non-blink mojo bindings in blink code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Add DCHECK for enum Created 4 years, 5 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/BluetoothRemoteGATTService.h
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h
index bea3518e4a88789b31e935df9677ce3526b177a3..b951db20e30c5b38312df387abd59ed20052632f 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTService.h
@@ -11,7 +11,7 @@
#include "platform/heap/Handle.h"
#include "platform/heap/Heap.h"
#include "public/platform/modules/bluetooth/WebBluetoothRemoteGATTService.h"
-#include "public/platform/modules/bluetooth/web_bluetooth.mojom.h"
+#include "public/platform/modules/bluetooth/web_bluetooth.mojom-blink.h"
#include "wtf/text/WTFString.h"
#include <memory>
@@ -52,7 +52,7 @@ public:
ScriptPromise getCharacteristics(ScriptState*, ExceptionState&);
private:
- ScriptPromise getCharacteristicsImpl(ScriptState*, mojom::WebBluetoothGATTQueryQuantity, String characteristicUUID = String());
+ ScriptPromise getCharacteristicsImpl(ScriptState*, mojom::blink::WebBluetoothGATTQueryQuantity, String characteristicUUID = String());
std::unique_ptr<WebBluetoothRemoteGATTService> m_webService;
Member<BluetoothDevice> m_device;

Powered by Google App Engine
This is Rietveld 408576698