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

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

Issue 9348028: Revert 120789 - Propogate status setting for profiler to track parents (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "base/tracked_objects.h"
10 #include "base/values.h" 9 #include "base/values.h"
11 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
12 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
13 #include "ipc/ipc_message_macros.h" 12 #include "ipc/ipc_message_macros.h"
14 13
15 IPC_ENUM_TRAITS(tracked_objects::ThreadData::Status)
16
17 #undef IPC_MESSAGE_EXPORT 14 #undef IPC_MESSAGE_EXPORT
18 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 15 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
19 16
20 #define IPC_MESSAGE_START ChildProcessMsgStart 17 #define IPC_MESSAGE_START ChildProcessMsgStart
21 18
22 // Messages sent from the browser to the child process. 19 // Messages sent from the browser to the child process.
23 20
24 // Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child 21 // Sent in response to ChildProcessHostMsg_ShutdownRequest to tell the child
25 // process that it's safe to shutdown. 22 // process that it's safe to shutdown.
26 IPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown) 23 IPC_MESSAGE_CONTROL0(ChildProcessMsg_Shutdown)
(...skipping 10 matching lines...) Expand all
37 std::vector<std::string> /* excluded_categories */) 34 std::vector<std::string> /* excluded_categories */)
38 35
39 // Sent to all child processes to disable trace event recording. 36 // Sent to all child processes to disable trace event recording.
40 IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing) 37 IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing)
41 38
42 // Sent to all child processes to get trace buffer fullness. 39 // Sent to all child processes to get trace buffer fullness.
43 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull) 40 IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull)
44 41
45 // Tell the child process to enable or disable the profiler status. 42 // Tell the child process to enable or disable the profiler status.
46 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus, 43 IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetProfilerStatus,
47 tracked_objects::ThreadData::Status /* profiler status */) 44 bool /* profiler status */)
48 45
49 // Send to all the child processes to send back profiler data (ThreadData in 46 // Send to all the child processes to send back profiler data (ThreadData in
50 // tracked_objects). 47 // tracked_objects).
51 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData, 48 IPC_MESSAGE_CONTROL2(ChildProcessMsg_GetChildProfilerData,
52 int, /* sequence number. */ 49 int, /* sequence number. */
53 std::string /* pickled Value of process type. */) 50 std::string /* pickled Value of process type. */)
54 51
55 // Sent to child processes to dump their handle table. 52 // Sent to child processes to dump their handle table.
56 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles) 53 IPC_MESSAGE_CONTROL0(ChildProcessMsg_DumpHandles)
57 54
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 91
95 // Release the cached font 92 // Release the cached font
96 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) 93 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts)
97 #endif // defined(OS_WIN) 94 #endif // defined(OS_WIN)
98 95
99 // Asks the browser to create a block of shared memory for the child process to 96 // Asks the browser to create a block of shared memory for the child process to
100 // fill in and pass back to the browser. 97 // fill in and pass back to the browser.
101 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, 98 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory,
102 uint32 /* buffer size */, 99 uint32 /* buffer size */,
103 base::SharedMemoryHandle) 100 base::SharedMemoryHandle)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/common/child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698