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

Unified Diff: device/sensors/public/interfaces/sensor.typemap

Issue 2078433002: [sensors] Introduce Generic Sensor API interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cap frequency to 60Hz. Created 4 years, 5 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: device/sensors/public/interfaces/sensor.typemap
diff --git a/device/sensors/public/interfaces/sensor.typemap b/device/sensors/public/interfaces/sensor.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..3fa0f1ae2bd676f114549950b96f5d68208cf21d
--- /dev/null
+++ b/device/sensors/public/interfaces/sensor.typemap
@@ -0,0 +1,19 @@
+# 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.
+
+mojom = "//device/sensors/public/interfaces/sensor.mojom"
+public_headers = [
+ "//device/sensors/platform_sensor.h",
+ "//device/sensors/platform_sensor_configuration.h",
+]
+traits_headers = [ "//device/sensors/public/interfaces/sensor_struct_traits.h" ]
+sources = [
+ "//device/sensors/public/interfaces/sensor_struct_traits.cc",
+]
+
+type_mappings = [
+ "device.mojom.ReportingMode=device::ReportingMode",
+ "device.mojom.SensorConfiguration=device::PlatformSensorConfiguration",
+ "device.mojom.SensorType=device::SensorType",
+]

Powered by Google App Engine
This is Rietveld 408576698