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

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

Issue 2576243003: Add an experiment to redirect DOMStorageTaskRunner to TaskScheduler. (Closed)
Patch Set: fix compile 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
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 0d9ccbba4a16e44457e4719862b3c0de466c8b2b..a7d5b8b81d30790bc14aefc72f7cd6feb410b824 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -815,6 +815,10 @@ class CONTENT_EXPORT ContentBrowserClient {
// Performs any necessary PostTask API redirection to the task scheduler.
virtual void PerformExperimentalTaskSchedulerRedirections() {}
+ // Returns true if the DOMStorageTaskRunner should be redirected to the task
+ // scheduler.
+ virtual bool ShouldRedirectDOMStorageTaskRunner();
+
// If this returns true, all BrowserThreads (but UI/IO) that support it on
// this platform will experimentally be redirected to TaskScheduler.
virtual bool RedirectNonUINonIOBrowserThreadsToTaskScheduler();
« no previous file with comments | « content/browser/dom_storage/dom_storage_task_runner.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698