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

Unified Diff: content/common/bluetooth/bluetooth_scan_filter.h

Issue 1172853004: Chromium side of RequestDeviceOptions implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Add some services to the multi-device adaptor to enable more interesting tests Created 5 years, 6 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: content/common/bluetooth/bluetooth_scan_filter.h
diff --git a/content/common/bluetooth/bluetooth_scan_filter.h b/content/common/bluetooth/bluetooth_scan_filter.h
new file mode 100644
index 0000000000000000000000000000000000000000..79cc5894d7e2da7e6bdd48a6d982aae69201f696
--- /dev/null
+++ b/content/common/bluetooth/bluetooth_scan_filter.h
@@ -0,0 +1,28 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_BLUETOOTH_BLUETOOTH_SCAN_FILTER_H_
+#define CONTENT_COMMON_BLUETOOTH_BLUETOOTH_SCAN_FILTER_H_
+
+#include <string>
+#include <vector>
+
+#include "content/common/content_export.h"
+#include "device/bluetooth/bluetooth_uuid.h"
+
+namespace content {
+
+// Data sent over IPC representing a filter on Bluetooth scans, corresponding to
+// blink::WebBluetoothScanFilter.
+struct CONTENT_EXPORT BluetoothScanFilter {
+ BluetoothScanFilter();
+ BluetoothScanFilter(const std::vector<device::BluetoothUUID>& services);
+ ~BluetoothScanFilter();
+
+ std::vector<device::BluetoothUUID> services;
+};
+
+} // namespace content
+
+#endif // CONTENT_COMMON_BLUETOOTH_BLUETOOTH_DEVICE_H_

Powered by Google App Engine
This is Rietveld 408576698