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

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

Issue 2471153002: [scheduler] Use Finch to control background throttling. (Closed)
Patch Set: Fix test and address comments 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 71365c4a51bb04e1930d37c535146f93d9e194cb..ff8fb425230973d634ee70713762bd40ef0336f2 100644
--- a/third_party/WebKit/public/platform/WebScheduler.h
+++ b/third_party/WebKit/public/platform/WebScheduler.h
@@ -16,7 +16,6 @@
namespace blink {
class WebTaskRunner;
-class WebView;
// This class is used to submit tasks and pass other information from Blink to
// the platform's scheduler.
@@ -76,7 +75,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*,
+ WebViewScheduler::WebViewSchedulerSettings*) = 0;
// Suspends the timer queue and increments the timer queue suspension count.
// May only be called from the main thread.
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/platform/WebViewScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698