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

sensors: Remove PlatformSensorAndProviderLinuxTest::SensorsCreated()

This code was added in commit 061d113d ("[sensors](CrOS/Linux) Implement
Sensor device manager for sensors") but was never used anywhere.

Change-Id: I3a0a213c09461d416aa0fffe7bbed6346692e95f
Reviewed-on: https://chromium-review.googlesource.com/c/1329922Reviewed-by: default avatarReilly Grant <reillyg@chromium.org>
Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
Cr-Commit-Position: refs/heads/master@{#606979}
parent dd9b04ee
...@@ -168,10 +168,6 @@ class PlatformSensorAndProviderLinuxTest : public ::testing::Test { ...@@ -168,10 +168,6 @@ class PlatformSensorAndProviderLinuxTest : public ::testing::Test {
} }
protected: protected:
void SensorsCreated(scoped_refptr<PlatformSensor> sensor) {
platform_sensor_vector_.push_back(sensor);
}
void SensorCreated(scoped_refptr<PlatformSensor> sensor) { void SensorCreated(scoped_refptr<PlatformSensor> sensor) {
platform_sensor_ = sensor; platform_sensor_ = sensor;
run_loop_->Quit(); run_loop_->Quit();
...@@ -306,7 +302,6 @@ class PlatformSensorAndProviderLinuxTest : public ::testing::Test { ...@@ -306,7 +302,6 @@ class PlatformSensorAndProviderLinuxTest : public ::testing::Test {
MockSensorDeviceManager* manager_; MockSensorDeviceManager* manager_;
scoped_refptr<PlatformSensor> platform_sensor_; scoped_refptr<PlatformSensor> platform_sensor_;
std::vector<scoped_refptr<PlatformSensor>> platform_sensor_vector_;
base::MessageLoop message_loop_; base::MessageLoop message_loop_;
std::unique_ptr<base::RunLoop> run_loop_; std::unique_ptr<base::RunLoop> run_loop_;
PlatformSensorProviderLinux* provider_; PlatformSensorProviderLinux* provider_;
......
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