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

Side by Side Diff: content/common/child_process_messages.h

Issue 1875503003: Revert "Create and pass shared-histogram-allocator from browser to renderer." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Common IPC messages used for child processes. 5 // Common IPC messages used for child processes.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // tracked_objects). 95 // tracked_objects).
96 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData, 96 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData,
97 int /* sequence_number */, 97 int /* sequence_number */,
98 int /* current_profiling_phase */) 98 int /* current_profiling_phase */)
99 99
100 // Send to all the child processes to mark the current profiling phase as 100 // Send to all the child processes to mark the current profiling phase as
101 // finished and start a new phase. 101 // finished and start a new phase.
102 IPC_MESSAGE_CONTROL1(ChildProcessMsg_ProfilingPhaseCompleted, 102 IPC_MESSAGE_CONTROL1(ChildProcessMsg_ProfilingPhaseCompleted,
103 int /* profiling_phase */) 103 int /* profiling_phase */)
104 104
105 // Sent to set the shared memory buffer to be used for storing histograms that
106 // are to be reported by the browser process to UMA. The following message
107 // (GetChildNonPersistentHistogramData) will return any histograms created
108 // before this message is received but not any histograms created afterward.
109 IPC_MESSAGE_CONTROL2(ChildProcessMsg_SetHistogramMemory,
110 base::SharedMemoryHandle /* shm_handle */,
111 int /* shm_size */)
112
113 // Send to all the child processes to send back histogram data. 105 // Send to all the child processes to send back histogram data.
114 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildNonPersistentHistogramData, 106 IPC_MESSAGE_CONTROL1(ChildProcessMsg_GetChildHistogramData,
115 int /* sequence_number */) 107 int /* sequence_number */)
116 108
117 // Sent to child processes to tell them to enter or leave background mode. 109 // Sent to child processes to tell them to enter or leave background mode.
118 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded, 110 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProcessBackgrounded,
119 bool /* background */) 111 bool /* background */)
120 112
121 // Sends a pipe used by the child process to broker passing of Mojo handles. 113 // Sends a pipe used by the child process to broker passing of Mojo handles.
122 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle, 114 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetMojoParentPipeHandle,
123 IPC::PlatformFileForTransit /* handle */) 115 IPC::PlatformFileForTransit /* handle */)
124 116
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 IPC_SYNC_MESSAGE_CONTROL2_1( 202 IPC_SYNC_MESSAGE_CONTROL2_1(
211 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory, 203 ChildProcessHostMsg_SyncAllocateLockedDiscardableSharedMemory,
212 uint32_t /* size */, 204 uint32_t /* size */,
213 content::DiscardableSharedMemoryId, 205 content::DiscardableSharedMemoryId,
214 base::SharedMemoryHandle) 206 base::SharedMemoryHandle)
215 207
216 // Informs the browser that the child deleted a block of discardable shared 208 // Informs the browser that the child deleted a block of discardable shared
217 // memory. 209 // memory.
218 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory, 210 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_DeletedDiscardableSharedMemory,
219 content::DiscardableSharedMemoryId) 211 content::DiscardableSharedMemoryId)
OLDNEW
« no previous file with comments | « content/child/child_histogram_message_filter.cc ('k') | content/public/browser/render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698