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

Unified Diff: content/common/child_process_messages.h

Issue 1671933002: Create and pass shared-histogram-allocator from browser to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@hsm-merge
Patch Set: cleanup on RenderProcessHostDestroyed instead of RenderProcessExited; use existing ScopedObserver c… Created 4 years, 10 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/common/child_process_messages.h
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index b4ee49f122da45dec813320e4bf86d51f2742218..564a9734982958247ed2cf495fe3e072fcd9f853 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -114,6 +114,14 @@ IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData,
IPC_MESSAGE_CONTROL1(ChildProcessMsg_ProfilingPhaseCompleted,
int /* profiling_phase */)
+// Sent to set the shared memory buffer to be used for storing histograms that
+// are to be reported by the browser process to UMA. The following message
+// (GetChildHistogramData) won't return any histograms created after this is
+// processed.
+IPC_MESSAGE_CONTROL2(ChildProcessMsg_SetHistogramMemory,
+ base::SharedMemoryHandle /* shm_handle */,
+ int /* shm_size */)
+
// Send to all the child processes to send back histogram data.
IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData,
int /* sequence_number */)

Powered by Google App Engine
This is Rietveld 408576698