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

Unified Diff: device/sensors/device_sensor_service.cc

Issue 2812223006: Replace device_sensor browsertest by service unittest. (Closed)
Patch Set: eliminate "unreachable code" warning. Created 3 years, 8 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
« no previous file with comments | « device/sensors/device_sensor_host.cc ('k') | device/sensors/public/cpp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/sensors/device_sensor_service.cc
diff --git a/device/sensors/device_sensor_service.cc b/device/sensors/device_sensor_service.cc
index 44693185eb8d09435f504d4e18d0d7bd6d30628a..57f59f0b6d01b101705bbf34f0cf59567bb90433 100644
--- a/device/sensors/device_sensor_service.cc
+++ b/device/sensors/device_sensor_service.cc
@@ -117,6 +117,7 @@ void DeviceSensorService::SetDataFetcherForTesting(
if (data_fetcher_)
data_fetcher_->Shutdown();
data_fetcher_.reset(test_data_fetcher);
+ is_shutdown_ = false;
}
} // namespace device
« no previous file with comments | « device/sensors/device_sensor_host.cc ('k') | device/sensors/public/cpp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698