| 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..fe9773f517af9c3ade5ab22deee4d9fb3da43ec9 100644
|
| --- a/third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
|
| +++ b/third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
|
| @@ -16,6 +16,10 @@ 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;
|
| };
|
|
|