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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2730333002: Make DeviceSensorService implement MainLoop::DestructionObserver (Closed)
Patch Set: Make DeviceSensorService observes IOThread to shutdown in right time. Created 3 years, 9 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 | « no previous file | device/sensors/device_sensor_service.h » ('j') | device/sensors/device_sensor_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.cc
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc
index 211afb42d2b7de4b686664707ac02de8c7c74b34..746f1ce696fd414aa33da4e1b11327304aaf9ad6 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -92,7 +92,6 @@
#include "content/public/common/result_codes.h"
#include "device/battery/battery_status_service.h"
#include "device/gamepad/gamepad_service.h"
-#include "device/sensors/device_sensor_service.h"
#include "media/audio/audio_system_impl.h"
#include "media/base/media.h"
#include "media/base/user_input_monitor.h"
@@ -1368,10 +1367,6 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
TRACE_EVENT0("shutdown", "BrowserMainLoop::Subsystem:GamepadService");
device::GamepadService::GetInstance()->Terminate();
}
- {
- TRACE_EVENT0("shutdown", "BrowserMainLoop::Subsystem:SensorService");
- device::DeviceSensorService::GetInstance()->Shutdown();
- }
#if !defined(OS_ANDROID)
{
TRACE_EVENT0("shutdown", "BrowserMainLoop::Subsystem:BatteryStatusService");
« no previous file with comments | « no previous file | device/sensors/device_sensor_service.h » ('j') | device/sensors/device_sensor_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698