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

Unified Diff: components/metrics/profiler/tracking_synchronizer_observer.h

Issue 1021053003: Delivering the FIRST_NONEMPTY_PAINT phase changing event to base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@phase_splitting
Patch Set: jar@ comments. Created 5 years, 8 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: components/metrics/profiler/tracking_synchronizer_observer.h
diff --git a/components/metrics/profiler/tracking_synchronizer_observer.h b/components/metrics/profiler/tracking_synchronizer_observer.h
index 0e943508079bd814169fae18b759ff563f74c21f..4ad62daff16172546bbe6f08e606dd20f2985d84 100644
--- a/components/metrics/profiler/tracking_synchronizer_observer.h
+++ b/components/metrics/profiler/tracking_synchronizer_observer.h
@@ -29,12 +29,6 @@ typedef std::vector<ProfilerEventProto::ProfilerEvent> ProfilerEvents;
// Observer for notifications from the TrackingSynchronizer class.
class TrackingSynchronizerObserver {
public:
- // TODO(vadimt): Consider isherman@ idea: I'd change the phase_start and
- // phase_finish from TimeDeltas to TimeTicks. And I'd omit the |past_events|
- // list -- either in favor of a single ProfilerEvent that corresponds to the
- // phase, or a method on the TrackingSynchronizer that can translate a
- // profiling_phase to a ProfilerEvent.
-
// Received |process_data_phase| for profiling phase |profiling_phase| from a
// single process of |process_type|. The phase start and finish times,
// relative to the start time are |phase_start| and

Powered by Google App Engine
This is Rietveld 408576698