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

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 an end-namespace comment 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
« no previous file with comments | « content/common/bluetooth/bluetooth_messages.h ('k') | content/common/bluetooth/bluetooth_scan_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/common/bluetooth/bluetooth_messages.h ('k') | content/common/bluetooth/bluetooth_scan_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698