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

Unified Diff: content/public/browser/content_browser_client.h

Issue 2464233002: Experiment with redirecting all BrowserThreads (but UI/IO) to TaskScheduler (Closed)
Patch Set: rm TODO Created 4 years, 1 month 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
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 9d1756dec89cfc08ab87e015aae4ddf86b281c50..028c6e7a00d9565493994a425ef2a3932178478f 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -784,6 +784,10 @@ class CONTENT_EXPORT ContentBrowserClient {
virtual std::unique_ptr<MemoryCoordinatorDelegate>
GetMemoryCoordinatorDelegate();
+ // If this returns true, all BrowserThreads (but UI/IO) that support it on
+ // this platform will experimentally be redirected to TaskScheduler.
+ virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
+
// Binds a new media remoter service to |request|, if supported by the
// embedder, for the |source| that lives in the render frame represented
// by |render_frame_host|. This may be called multiple times if there is more

Powered by Google App Engine
This is Rietveld 408576698