 Chromium Code Reviews
 Chromium Code Reviews Issue 2258133002:
  [scheduler] Implement time-based cpu throttling.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 2258133002:
  [scheduler] Implement time-based cpu throttling.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: third_party/WebKit/public/platform/scheduler/base/task_time_observer.h | 
| diff --git a/third_party/WebKit/public/platform/scheduler/base/task_time_observer.h b/third_party/WebKit/public/platform/scheduler/base/task_time_observer.h | 
| index 5ea6fec704f0373144b82b94abc3d2f9721e9ff7..ee1b964c06b6a1687ed5f563cca12057d56e8223 100644 | 
| --- a/third_party/WebKit/public/platform/scheduler/base/task_time_observer.h | 
| +++ b/third_party/WebKit/public/platform/scheduler/base/task_time_observer.h | 
| @@ -11,12 +11,16 @@ | 
| namespace blink { | 
| namespace scheduler { | 
| +class TaskQueue; | 
| + | 
| class BLINK_PLATFORM_EXPORT TaskTimeObserver { | 
| 
alex clarke (OOO till 29th)
2016/09/12 17:45:27
We're trying to add some top level comments to sch
 
altimin
2016/09/14 11:23:19
Done.
 | 
| public: | 
| TaskTimeObserver() {} | 
| virtual ~TaskTimeObserver() {} | 
| - virtual void ReportTaskTime(double startTime, double endTime) = 0; | 
| + virtual void ReportTaskTime(TaskQueue* task_queue, | 
| 
alex clarke (OOO till 29th)
2016/09/12 17:45:27
Please add a comment explaining what the members a
 
altimin
2016/09/14 11:23:19
Done.
 | 
| + double start_time, | 
| + double end_time) = 0; | 
| private: | 
| DISALLOW_COPY_AND_ASSIGN(TaskTimeObserver); |