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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/idle_helper.h

Issue 2416803003: Record PendingTaskCount when a backgrounded renderer is suspended. (Closed)
Patch Set: Add unittest Created 4 years, 2 months 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/Source/platform/scheduler/child/idle_helper.h
diff --git a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.h b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.h
index 5cf7199f90084b38de7d92eea4f7482754818e96..353a0667001e0e07c4f4ce83166304334dd528f1 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/idle_helper.h
+++ b/third_party/WebKit/Source/platform/scheduler/child/idle_helper.h
@@ -143,6 +143,8 @@ class BLINK_PLATFORM_EXPORT IdleHelper
IdlePeriodState SchedulerIdlePeriodState() const;
static const char* IdlePeriodStateToString(IdlePeriodState state);
+ int GetNumberOfPendingIdleTasks();
Sami 2016/10/14 01:38:18 size_t
tasak 2016/10/14 05:55:31 I agree. ...so I found that we don't need this me
+
private:
friend class BaseIdleHelperTest;
friend class IdleHelperTest;

Powered by Google App Engine
This is Rietveld 408576698