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

Unified Diff: device/generic_sensor/platform_sensor_configuration_android.h

Issue 2284613002: [sensors] Android platform adaptation for Generic Sensor API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded dependencies. Created 4 years, 4 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/generic_sensor/platform_sensor_configuration_android.h
diff --git a/device/generic_sensor/platform_sensor_configuration_android.h b/device/generic_sensor/platform_sensor_configuration_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..efb3cd6935c124b30e041dc88b9ac1d02a0b74e2
--- /dev/null
+++ b/device/generic_sensor/platform_sensor_configuration_android.h
@@ -0,0 +1,22 @@
+// 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 DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_CONFIGURATION_ANDROID_H_
+#define DEVICE_GENERIC_SENSOR_PLATFORM_SENSOR_CONFIGURATION_ANDROID_H_
+
+#include "base/android/scoped_java_ref.h"
+#include "device/generic_sensor/platform_sensor_configuration.h"
+
+namespace device {
+
+class PlatformSensorConfigurationAndroid : public PlatformSensorConfiguration {
+ public:
+ static base::android::ScopedJavaLocalRef<jobject> Create(
+ JNIEnv* env,
+ const PlatformSensorConfiguration& configuration);
+};
+
+} // namespace device
+
+#endif // DEVICE_GENERIC_SENSOR_SENSOR_CONFIGURATION_ANDROID_H_

Powered by Google App Engine
This is Rietveld 408576698