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

Side by Side Diff: third_party/WebKit/public/platform/scheduler/base/task_time_observer.h

Issue 2259013003: Move and rename TaskTimeTracker to public interface exposed to WebThread, use in WebPerf Agent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update missed SetTaskTimeObserver in blink_platform_perftests 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_BASE_TASK_TIME_OBSERVER_H_
6 #define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_BASE_TASK_TIME_OBSERVER_H_
7
8 #include "base/time/time.h"
9 #include "public/platform/WebCommon.h"
10
11 namespace blink {
12 namespace scheduler {
13
14 class BLINK_PLATFORM_EXPORT TaskTimeObserver {
15 public:
16 TaskTimeObserver() {}
17 virtual ~TaskTimeObserver() {}
18
19 virtual void ReportTaskTime(double startTime, double endTime) = 0;
pfeldman 2016/08/29 17:23:08 reportTaskTime (from lower case). Also, do you nee
panicker 2016/08/29 17:46:23 This is still following pre-Blink Scheduler code s
pfeldman 2016/08/29 17:52:54 Okay. What about the startTime/endTime vs length?
panicker 2016/08/29 18:01:32 Oops yeah - I do need startTime / EndTime as it's
20
21 private:
22 DISALLOW_COPY_AND_ASSIGN(TaskTimeObserver);
23 };
24
25 } // namespace scheduler
26 } // namespace blink
27
28 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_BASE_TASK_TIME_OBSERVER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698