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

Unified Diff: third_party/WebKit/public/platform/WebScheduler.h

Issue 2471153002: [scheduler] Use Finch to control background throttling. (Closed)
Patch Set: 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: third_party/WebKit/public/platform/WebScheduler.h
diff --git a/third_party/WebKit/public/platform/WebScheduler.h b/third_party/WebKit/public/platform/WebScheduler.h
index 6e766133df8e991412f8fae71676ea463e458698..bae2fbb876aaea93b6c15563d39aba8ee23a4e48 100644
--- a/third_party/WebKit/public/platform/WebScheduler.h
+++ b/third_party/WebKit/public/platform/WebScheduler.h
@@ -16,6 +16,7 @@
namespace blink {
+class WebSettingsImpl;
class WebView;
// This class is used to submit tasks and pass other information from Blink to
@@ -76,7 +77,8 @@ class BLINK_PLATFORM_EXPORT WebScheduler {
// Creates a new WebViewScheduler for a given WebView. Must be called from
// the associated WebThread.
virtual std::unique_ptr<WebViewScheduler> createWebViewScheduler(
- InterventionReporter*) = 0;
+ InterventionReporter*,
+ WebSettingsImpl*) = 0;
// Suspends the timer queue and increments the timer queue suspension count.
// May only be called from the main thread.

Powered by Google App Engine
This is Rietveld 408576698