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

Unified Diff: content/public/browser/profiler_controller.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: More 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
« base/tracked_objects.cc ('K') | « content/common/child_process_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/profiler_controller.h
diff --git a/content/public/browser/profiler_controller.h b/content/public/browser/profiler_controller.h
index 25d4351ef70b83bc74ac70d7957fadeca486c54c..34ac03f231b585abca8bd4bfe7a94a14776f42a7 100644
--- a/content/public/browser/profiler_controller.h
+++ b/content/public/browser/profiler_controller.h
@@ -42,7 +42,14 @@ class CONTENT_EXPORT ProfilerController {
virtual void Unregister(const ProfilerSubscriber* subscriber) = 0;
// Contact all processes and get their profiler data.
- virtual void GetProfilerData(int sequence_number) = 0;
+ // |current_profiling_phase| is the 0-indexed identifier of the current
+ // profiling phase.
+ virtual void GetProfilerData(int sequence_number,
+ int current_profiling_phase) = 0;
+
+ // Contact child processes and notify them that the |profiling_phase| has
+ // completed.
+ virtual void OnProfilingPhaseCompleted(int profiling_phase) = 0;
};
} // namespace content
« base/tracked_objects.cc ('K') | « content/common/child_process_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698