| 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_
|
|
|