Index: content/browser/browser_main_loop.cc |
diff --git a/content/browser/browser_main_loop.cc b/content/browser/browser_main_loop.cc |
index a03aa77309b8d3888637ae8c03f3c1951e24bcc4..52782312fb55677775f19e03fd24320ea1e7e2eb 100644 |
--- a/content/browser/browser_main_loop.cc |
+++ b/content/browser/browser_main_loop.cc |
@@ -25,6 +25,7 @@ |
#include "base/timer/hi_res_timer_manager.h" |
#include "content/browser/browser_thread_impl.h" |
#include "content/browser/device_sensors/device_inertial_sensor_service.h" |
+#include "content/browser/battery_status/battery_status_service.h" |
#include "content/browser/download/save_file_manager.h" |
#include "content/browser/gamepad/gamepad_service.h" |
#include "content/browser/gpu/browser_gpu_channel_host_factory.h" |
@@ -871,6 +872,10 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() { |
DeviceInertialSensorService::GetInstance()->Shutdown(); |
} |
{ |
+ TRACE_EVENT0("shutdown", "BrowserMainLoop::Subsystem:BatteryStatusService"); |
+ BatteryStatusService::GetInstance()->Shutdown(); |
+ } |
+ { |
TRACE_EVENT0("shutdown", "BrowserMainLoop::Subsystem:DeleteDataSources"); |
URLDataManager::DeleteDataSources(); |
} |