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

Unified Diff: content/browser/browser_main_loop.h

Issue 2464233002: Experiment with redirecting all BrowserThreads (but UI/IO) to TaskScheduler (Closed)
Patch Set: remove WaitUntilThreadStarted on Android, makes Android test instrumentation hang, is previous issu… Created 4 years 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 | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_main_loop.h
diff --git a/content/browser/browser_main_loop.h b/content/browser/browser_main_loop.h
index 856a67b6183c1ec3e50e6574c4e3cab85f61944a..8f82a58652ba63735138e98b1fed28326e2143e6 100644
--- a/content/browser/browser_main_loop.h
+++ b/content/browser/browser_main_loop.h
@@ -26,10 +26,10 @@ namespace base {
class CommandLine;
class FilePath;
class HighResolutionTimerManager;
+class MemoryPressureMonitor;
class MessageLoop;
class PowerMonitor;
class SystemMonitor;
-class MemoryPressureMonitor;
namespace trace_event {
class TraceEventSystemStatsMonitor;
} // namespace trace_event
@@ -273,6 +273,9 @@ class CONTENT_EXPORT BrowserMainLoop {
#endif
// Members initialized in |CreateThreads()| ----------------------------------
+ // Note: some |*_thread_| members below may never be initialized when
+ // redirection to TaskScheduler is enabled. (ref.
+ // ContentBrowserClient::RedirectNonUINonIOBrowserThreadsToTaskScheduler()).
std::unique_ptr<BrowserProcessSubThread> db_thread_;
std::unique_ptr<BrowserProcessSubThread> file_user_blocking_thread_;
std::unique_ptr<BrowserProcessSubThread> file_thread_;
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698