Commit 1c51e7a7 authored by Raphael Kubo da Costa's avatar Raphael Kubo da Costa Committed by Commit Bot

sensors: Remove PlatformSensorProviderLinux::GetAllSensorDevices().

This method was never implemented and is not called anywhere. It is better
to readd it if we ever really have a use for it.

Change-Id: I1c9b379e3dbe867e91f06f0170dce3abe04b8c98
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218087
Auto-Submit: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#772274}
parent 340f5767
......@@ -113,12 +113,6 @@ SensorInfoLinux* PlatformSensorProviderLinux::GetSensorDevice(
return sensor->second.get();
}
void PlatformSensorProviderLinux::GetAllSensorDevices() {
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
// TODO(maksims): implement this method once we have discovery API.
NOTIMPLEMENTED();
}
void PlatformSensorProviderLinux::SetSensorDeviceManagerForTesting(
std::unique_ptr<SensorDeviceManager> sensor_device_manager) {
DCHECK_CALLED_ON_VALID_THREAD(thread_checker_);
......
......@@ -54,9 +54,6 @@ class PlatformSensorProviderLinux : public PlatformSensorProvider,
// enumeration is ready.
SensorInfoLinux* GetSensorDevice(mojom::SensorType type);
// Returns all found iio devices. Currently not implemented.
void GetAllSensorDevices();
// Processed stored requests in |request_map_|.
void ProcessStoredRequests();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment