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

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: 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: content/public/browser/profiler_controller.h
diff --git a/content/public/browser/profiler_controller.h b/content/public/browser/profiler_controller.h
index 25d4351ef70b83bc74ac70d7957fadeca486c54c..2717f5e111eb53044a0e78e002fb492fd1739988 100644
--- a/content/public/browser/profiler_controller.h
+++ b/content/public/browser/profiler_controller.h
@@ -42,7 +42,13 @@ 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 number of the current profiling phase.
Ilya Sherman 2015/04/07 01:15:31 nit: s/number/0-indexed identifier, or something l
vadimt 2015/04/07 21:44:15 Done.
+ virtual void GetProfilerData(int sequence_number,
+ int current_profiling_phase) = 0;
+
+ // Contact child processes and notify them of the profiling phase
+ // |profiling_phase| completion.
Ilya Sherman 2015/04/07 01:15:31 nit: "notify them of the profiling phase completio
vadimt 2015/04/07 21:44:15 Done.
+ virtual void OnProfilingPhaseCompletion(int profiling_phase) = 0;
Ilya Sherman 2015/04/07 01:15:31 nit: "Completion" -> "Completed"
};
} // namespace content
« content/common/child_process_messages.h ('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