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

Unified Diff: third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h

Issue 2565913002: [Onion Soup] Move WebBluetoothImpl from //content/renderer/bluetooth to Blink's bluetooth module (Closed)
Patch Set: renamed BluetoothUUID.typemap to Bluetooth.typemap Created 3 years, 12 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: 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
deleted file mode 100644
index c7a96d3c8fba90a9b6254260e2c33b70fee60db3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/public/platform/modules/bluetooth/WebRequestDeviceOptions.h
+++ /dev/null
@@ -1,40 +0,0 @@
-// 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 WebRequestDeviceOptions_h
-#define WebRequestDeviceOptions_h
-
-#include "public/platform/WebString.h"
-#include "public/platform/WebVector.h"
-
-namespace blink {
-
-// Contains members corresponding to BluetoothScanFilter members as
-// specified in the IDL.
-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;
-};
-
-// Contains members corresponding to RequestDeviceOptions members as
-// specified in the IDL.
-struct WebRequestDeviceOptions {
- WebRequestDeviceOptions() {}
-
- WebVector<WebBluetoothScanFilter> filters;
- bool hasFilters;
- WebVector<WebString> optionalServices;
- bool acceptAllDevices;
-};
-
-} // namespace blink
-
-#endif // WebRequestDeviceOptions_h

Powered by Google App Engine
This is Rietveld 408576698