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 |