Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebRequestDeviceOptions_h | 5 #ifndef WebRequestDeviceOptions_h |
| 6 #define WebRequestDeviceOptions_h | 6 #define WebRequestDeviceOptions_h |
| 7 | 7 |
| 8 #include "public/platform/WebString.h" | 8 #include "public/platform/WebString.h" |
| 9 #include "public/platform/WebVector.h" | 9 #include "public/platform/WebVector.h" |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 23 WebString name; | 23 WebString name; |
| 24 WebString namePrefix; | 24 WebString namePrefix; |
| 25 }; | 25 }; |
| 26 | 26 |
| 27 // Contains members corresponding to RequestDeviceOptions members as | 27 // Contains members corresponding to RequestDeviceOptions members as |
| 28 // specified in the IDL. | 28 // specified in the IDL. |
| 29 struct WebRequestDeviceOptions { | 29 struct WebRequestDeviceOptions { |
| 30 WebRequestDeviceOptions() {} | 30 WebRequestDeviceOptions() {} |
| 31 | 31 |
| 32 WebVector<WebBluetoothScanFilter> filters; | 32 WebVector<WebBluetoothScanFilter> filters; |
| 33 bool hasFilters; | |
|
scheib
2016/11/22 21:22:44
I don't think we need hasFilters in WebRequestDevi
ortuno
2016/11/23 06:03:08
hmm I was trying to make things in bluetooth_type_
| |
| 33 WebVector<WebString> optionalServices; | 34 WebVector<WebString> optionalServices; |
| 35 bool acceptAllDevices; | |
| 34 }; | 36 }; |
| 35 | 37 |
| 36 } // namespace blink | 38 } // namespace blink |
| 37 | 39 |
| 38 #endif // WebRequestDeviceOptions_h | 40 #endif // WebRequestDeviceOptions_h |
| OLD | NEW |