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

Unified Diff: device/generic_sensor/platform_sensor_provider_base.h

Issue 2284613002: [sensors] Android platform adaptation for Generic Sensor API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase to master. Created 4 years, 3 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_provider_base.h
diff --git a/device/generic_sensor/platform_sensor_provider_base.h b/device/generic_sensor/platform_sensor_provider_base.h
index e37a984e85420823b8c27a76c2cc0acbb6a8d1a6..6d38d8596f24f64e2a9226bd6d232c73dddf5673 100644
--- a/device/generic_sensor/platform_sensor_provider_base.h
+++ b/device/generic_sensor/platform_sensor_provider_base.h
@@ -16,11 +16,6 @@ namespace device {
// Its implementations must be accessed via GetInstance() method.
class PlatformSensorProviderBase : public base::NonThreadSafe {
public:
- // Returns the PlatformSensorProviderBase singleton.
- // Note: returns 'nullptr' if there is no available implementation for
- // the current platform.
- static PlatformSensorProviderBase* GetInstance();
-
// Creates new instance of PlatformSensor.
scoped_refptr<PlatformSensor> CreateSensor(mojom::SensorType type,
uint64_t size,

Powered by Google App Engine
This is Rietveld 408576698