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

Unified Diff: content/public/browser/content_browser_client.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 | « content/browser/browser_thread_impl.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 437ca897baa4e324a76225cbae39fd7a280b342e..0d9ccbba4a16e44457e4719862b3c0de466c8b2b 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -814,6 +814,10 @@ class CONTENT_EXPORT ContentBrowserClient {
// Performs any necessary PostTask API redirection to the task scheduler.
virtual void PerformExperimentalTaskSchedulerRedirections() {}
+
+ // If this returns true, all BrowserThreads (but UI/IO) that support it on
+ // this platform will experimentally be redirected to TaskScheduler.
+ virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
};
} // namespace content
« no previous file with comments | « content/browser/browser_thread_impl.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698