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

Unified Diff: device/generic_sensor/platform_sensor_provider_default.cc

Issue 2144623003: [sensors] Introduce Generic Sensor API interfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Definition for PlatformSensorProvider ctor/dtor 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_provider_default.cc
diff --git a/device/gamepad/gamepad_consumer.cc b/device/generic_sensor/platform_sensor_provider_default.cc
similarity index 57%
copy from device/gamepad/gamepad_consumer.cc
copy to device/generic_sensor/platform_sensor_provider_default.cc
index d5771ad6d178dfc4712fa89f2a647c6326a60a47..fa0d536816f333e70539c4e16b553dc423a88634 100644
--- a/device/gamepad/gamepad_consumer.cc
+++ b/device/generic_sensor/platform_sensor_provider_default.cc
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "device/gamepad/gamepad_consumer.h"
+#include "device/generic_sensor/platform_sensor_provider.h"
namespace device {
-GamepadConsumer::GamepadConsumer() {}
-
-GamepadConsumer::~GamepadConsumer() {}
+// static
+PlatformSensorProvider* PlatformSensorProvider::GetInstance() {
+ return nullptr;
+}
} // namespace device
« no previous file with comments | « device/generic_sensor/platform_sensor_provider_base.cc ('k') | device/generic_sensor/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698