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

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

Issue 12389073: Collect tab timing information for use in telementry-based startup tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review comments Created 7 years, 9 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. The browser will send the histogram 111 // Request a histogram from the browser. The browser will send the histogram
112 // data only if it has been passed the command line flag 112 // data only if it has been passed the command line flag
113 // switches::kDomAutomationController. 113 // switches::kDomAutomationController.
114 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_GetBrowserHistogram, 114 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_GetBrowserHistogram,
115 std::string, /* histogram_name */ 115 std::string, /* histogram_name */
116 std::string /* histogram_json */) 116 std::string /* histogram_json */)
117 117
118 // Get timing data for all tabs.
119 IPC_SYNC_MESSAGE_CONTROL0_1(ChildProcessHostMsg_GetTabLoadTimingInformation,
120 std::string /* timing_data_json */)
121
118 // Reply to ChildProcessMsg_DumpHandles when handle table dump is complete. 122 // Reply to ChildProcessMsg_DumpHandles when handle table dump is complete.
119 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone) 123 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone)
120 124
121 #if defined(OS_WIN) 125 #if defined(OS_WIN)
122 // Request that the given font be loaded by the host so it's cached by the 126 // Request that the given font be loaded by the host so it's cached by the
123 // OS. Please see ChildProcessHost::PreCacheFont for details. 127 // OS. Please see ChildProcessHost::PreCacheFont for details.
124 IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont, 128 IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont,
125 LOGFONT /* font data */) 129 LOGFONT /* font data */)
126 130
127 // Release the cached font 131 // Release the cached font
128 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) 132 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts)
129 #endif // defined(OS_WIN) 133 #endif // defined(OS_WIN)
130 134
131 // Asks the browser to create a block of shared memory for the child process to 135 // Asks the browser to create a block of shared memory for the child process to
132 // fill in and pass back to the browser. 136 // fill in and pass back to the browser.
133 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, 137 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory,
134 uint32 /* buffer size */, 138 uint32 /* buffer size */,
135 base::SharedMemoryHandle) 139 base::SharedMemoryHandle)
136 140
137 #if defined(USE_TCMALLOC) 141 #if defined(USE_TCMALLOC)
138 // Reply to ChildProcessMsg_GetTcmallocStats. 142 // Reply to ChildProcessMsg_GetTcmallocStats.
139 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, 143 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats,
140 std::string /* output */) 144 std::string /* output */)
141 #endif 145 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698