Chromium Code Reviews| 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 |