Index: content/browser/profiler_controller_impl.h |
diff --git a/content/browser/profiler_controller_impl.h b/content/browser/profiler_controller_impl.h |
index 44e160c9a5dc2839a6554b54a8fc837539f960ac..d955e344486d479bbde59250c227e18e35e153d5 100644 |
--- a/content/browser/profiler_controller_impl.h |
+++ b/content/browser/profiler_controller_impl.h |
@@ -44,13 +44,18 @@ class ProfilerControllerImpl : public ProfilerController { |
// ProfilerController implementation: |
void Register(ProfilerSubscriber* subscriber) override; |
void Unregister(const ProfilerSubscriber* subscriber) override; |
- void GetProfilerData(int sequence_number) override; |
+ void GetProfilerData(int sequence_number, int profiling_phase) override; |
+ void OnProfilingPhaseCompletion(int profiling_phase) override; |
private: |
friend struct DefaultSingletonTraits<ProfilerControllerImpl>; |
// Contact child processes and get their profiler data. |
- void GetProfilerDataFromChildProcesses(int sequence_number); |
+ void GetProfilerDataFromChildProcesses(int sequence_number, |
+ int profiling_phase); |
+ |
+ // Contact child processes and notify them of a profiling phase completion. |
+ void NotifyChildProcessesOfProfilingPhaseCompletion(int profiling_phase); |
ProfilerSubscriber* subscriber_; |