Index: device/generic_sensor/platform_sensor_provider_android.cc |
diff --git a/device/generic_sensor/platform_sensor_provider_android.cc b/device/generic_sensor/platform_sensor_provider_android.cc |
index 2506dba4f48016f88ccc51a347a51b55f5b8f6ba..df361c835dbf43398c78eafc4b510d5b25b1eb30 100644 |
--- a/device/generic_sensor/platform_sensor_provider_android.cc |
+++ b/device/generic_sensor/platform_sensor_provider_android.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "device/generic_sensor/platform_sensor_provider.h" |
+#include "device/generic_sensor/platform_sensor_provider_android.h" |
#include "base/android/context_utils.h" |
#include "base/android/scoped_java_ref.h" |
@@ -15,30 +15,6 @@ using base::android::ScopedJavaLocalRef; |
namespace device { |
-class PlatformSensorProviderAndroid : public PlatformSensorProvider { |
- public: |
- PlatformSensorProviderAndroid(); |
- ~PlatformSensorProviderAndroid() override; |
- |
- static PlatformSensorProviderAndroid* GetInstance(); |
- |
- protected: |
- void CreateSensorInternal(mojom::SensorType type, |
- mojo::ScopedSharedBufferMapping mapping, |
- const CreateSensorCallback& callback) override; |
- |
- private: |
- // Java object org.chromium.device.sensors.PlatformSensorProvider |
- base::android::ScopedJavaGlobalRef<jobject> j_object_; |
- |
- DISALLOW_COPY_AND_ASSIGN(PlatformSensorProviderAndroid); |
-}; |
- |
-// static |
-PlatformSensorProvider* PlatformSensorProvider::GetInstance() { |
- return PlatformSensorProviderAndroid::GetInstance(); |
-} |
- |
// static |
PlatformSensorProviderAndroid* PlatformSensorProviderAndroid::GetInstance() { |
return base::Singleton< |