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

Unified Diff: content/browser/browser_main_loop.cc

Issue 2410123002: Remove content::BrowserThread knowledge from Device Sensors (Closed)
Patch Set: Rebase, avoid object creation on startup Created 4 years, 2 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 | content/browser/device_sensors/data_fetcher_shared_memory.h » ('j') | no next file with comments »
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 02b0a5714686eac96ae977e7d293c1f0416373f0..9474c02306e364dfc5b4292314b95f809afcc9d7 100644
--- a/content/browser/browser_main_loop.cc
+++ b/content/browser/browser_main_loop.cc
@@ -1164,7 +1164,7 @@ void BrowserMainLoop::ShutdownThreadsAndCleanUp() {
}
{
TRACE_EVENT0("shutdown", "BrowserMainLoop::Subsystem:SensorService");
- DeviceSensorService::GetInstance()->Shutdown();
+ DeviceSensorService::GetInstance()->ShutDownOnUIThread();
}
#if !defined(OS_ANDROID)
{
@@ -1342,7 +1342,7 @@ int BrowserMainLoop::BrowserThreadsStarted() {
{
TRACE_EVENT0("startup",
- "BrowserMainLoop::BrowserThreadsStarted::SaveFileManager");
+ "BrowserMainLoop::BrowserThreadsStarted::SaveFileManager");
save_file_manager_ = new SaveFileManager();
}
« no previous file with comments | « no previous file | content/browser/device_sensors/data_fetcher_shared_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698