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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h

Issue 2258133002: [scheduler] Implement time-based cpu throttling. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed similarity Created 4 years, 3 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/core/inspector/InspectorWebPerfAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
index 17c31580f266a8a390531897b224ecd63ce9900b..192490c9a6733fdeec2df328d4c502ce78c8b6c5 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWebPerfAgent.h
@@ -35,7 +35,10 @@ public:
void didProcessTask() override;
// scheduler::TaskTimeObserver implementation
- void ReportTaskTime(double startTime, double endTime) override;
+ void ReportTaskTime(
+ scheduler::TaskQueue* taskQueue,
+ base::TimeTicks startTime,
Sami 2016/09/07 15:20:43 Unfortunately we can't use TimeTicks in Blink yet.
+ base::TimeTicks endTime) override;
private:
Member<InspectedFrames> m_inspectedFrames;

Powered by Google App Engine
This is Rietveld 408576698