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

Unified Diff: content/renderer/bluetooth/bluetooth_type_converters.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
« no previous file with comments | « content/renderer/bluetooth/PRESUBMIT.py ('k') | content/renderer/bluetooth/bluetooth_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/bluetooth/bluetooth_type_converters.h
diff --git a/content/renderer/bluetooth/bluetooth_type_converters.h b/content/renderer/bluetooth/bluetooth_type_converters.h
deleted file mode 100644
index b747aeeeadfe0d886d5680d3ecb754f505ec66fd..0000000000000000000000000000000000000000
--- a/content/renderer/bluetooth/bluetooth_type_converters.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2016 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_RENDERER_BLUETOOTH_BLUETOOTH_TYPE_CONVERTERS_H_
-#define CONTENT_RENDERER_BLUETOOTH_BLUETOOTH_TYPE_CONVERTERS_H_
-
-#include "base/optional.h"
-#include "device/bluetooth/bluetooth_uuid.h"
-#include "mojo/public/cpp/bindings/type_converter.h"
-#include "third_party/WebKit/public/platform/WebString.h"
-#include "third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom.h"
-
-namespace blink {
-struct WebBluetoothScanFilter;
-struct WebRequestDeviceOptions;
-}
-
-namespace mojo {
-
-template <>
-struct TypeConverter<blink::mojom::WebBluetoothScanFilterPtr,
- blink::WebBluetoothScanFilter> {
- static blink::mojom::WebBluetoothScanFilterPtr Convert(
- const blink::WebBluetoothScanFilter& web_filter);
-};
-
-template <>
-struct TypeConverter<blink::mojom::WebBluetoothRequestDeviceOptionsPtr,
- blink::WebRequestDeviceOptions> {
- static blink::mojom::WebBluetoothRequestDeviceOptionsPtr Convert(
- const blink::WebRequestDeviceOptions& web_options);
-};
-
-template <>
-struct TypeConverter<device::BluetoothUUID, blink::WebString> {
- static device::BluetoothUUID Convert(const blink::WebString& web_string);
-};
-
-} // namespace mojo
-
-#endif // CONTENT_RENDERER_BLUETOOTH_BLUETOOTH_TYPE_CONVERTERS_H_
« no previous file with comments | « content/renderer/bluetooth/PRESUBMIT.py ('k') | content/renderer/bluetooth/bluetooth_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698