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

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Remove debug log Created 4 years, 7 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/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
diff --git a/third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h b/third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
index f482c4c826dd1c1520b162e71c55fd6966e44f14..ade32f5a46af4fd6432e0c2d3c55d735da59dd51 100644
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
+++ b/third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
@@ -16,8 +16,13 @@ struct WebBluetoothScanFilter {
WebBluetoothScanFilter() { }
WebVector<WebString> services;
+ // We don't allow empty services or namePrefix but we do allow
+ // an empty name so we can't use name.isEmpty() to know if
+ // the filter contains a name or not.
+ bool hasName;
WebString name;
WebString namePrefix;
+
Jeffrey Yasskin 2016/05/13 04:41:59 Remove this blank line.
ortuno 2016/05/13 20:11:18 Done.
};
// Contains members corresponding to RequestDeviceOptions members as

Powered by Google App Engine
This is Rietveld 408576698