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

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

Issue 11975048: Native memory histograms for the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review (jochen) Created 7 years, 11 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 | Annotate | Revision Log
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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // Send back profiler data (ThreadData in tracked_objects). 101 // Send back profiler data (ThreadData in tracked_objects).
102 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_ChildProfilerData, 102 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_ChildProfilerData,
103 int, /* sequence_number */ 103 int, /* sequence_number */
104 tracked_objects::ProcessDataSnapshot /* profiler_data */) 104 tracked_objects::ProcessDataSnapshot /* profiler_data */)
105 105
106 // Send back histograms as vector of pickled-histogram strings. 106 // Send back histograms as vector of pickled-histogram strings.
107 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_ChildHistogramData, 107 IPC_MESSAGE_CONTROL2(ChildProcessHostMsg_ChildHistogramData,
108 int, /* sequence_number */ 108 int, /* sequence_number */
109 std::vector<std::string> /* histogram_data */) 109 std::vector<std::string> /* histogram_data */)
110 110
111 // Request a histogram from the browser.
Charlie Reis 2013/01/22 23:31:31 nit: Please mention that this is only available be
marja 2013/01/23 08:28:44 Done.
112 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_GetBrowserHistogram,
113 std::string, /* histogram_name */
114 std::string /* histogram_json */)
115
111 // Reply to ChildProcessMsg_DumpHandles when handle table dump is complete. 116 // Reply to ChildProcessMsg_DumpHandles when handle table dump is complete.
112 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone) 117 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone)
113 118
114 #if defined(OS_WIN) 119 #if defined(OS_WIN)
115 // Request that the given font be loaded by the host so it's cached by the 120 // Request that the given font be loaded by the host so it's cached by the
116 // OS. Please see ChildProcessHost::PreCacheFont for details. 121 // OS. Please see ChildProcessHost::PreCacheFont for details.
117 IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont, 122 IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont,
118 LOGFONT /* font data */) 123 LOGFONT /* font data */)
119 124
120 // Release the cached font 125 // Release the cached font
121 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) 126 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts)
122 #endif // defined(OS_WIN) 127 #endif // defined(OS_WIN)
123 128
124 // Asks the browser to create a block of shared memory for the child process to 129 // Asks the browser to create a block of shared memory for the child process to
125 // fill in and pass back to the browser. 130 // fill in and pass back to the browser.
126 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, 131 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory,
127 uint32 /* buffer size */, 132 uint32 /* buffer size */,
128 base::SharedMemoryHandle) 133 base::SharedMemoryHandle)
129 134
130 #if defined(USE_TCMALLOC) 135 #if defined(USE_TCMALLOC)
131 // Reply to ChildProcessMsg_GetTcmallocStats. 136 // Reply to ChildProcessMsg_GetTcmallocStats.
132 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, 137 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats,
133 std::string /* output */) 138 std::string /* output */)
134 #endif 139 #endif
OLDNEW
« no previous file with comments | « content/browser/histogram_message_filter.cc ('k') | content/renderer/dom_automation_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698