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

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 5172009: This adds some plumbing for propagating the reason for a renderer's death (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Renaming PROCESS_END_* to EXIT_CODE_* Created 10 years 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1186 1186
1187 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, 1187 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats,
1188 WebKit::WebCache::UsageStats /* stats */) 1188 WebKit::WebCache::UsageStats /* stats */)
1189 1189
1190 // Indicates the renderer is ready in response to a ViewMsg_New or 1190 // Indicates the renderer is ready in response to a ViewMsg_New or
1191 // a ViewMsg_CreatingNew_ACK. 1191 // a ViewMsg_CreatingNew_ACK.
1192 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) 1192 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady)
1193 1193
1194 // Indicates the renderer process is gone. This actually is sent by the 1194 // Indicates the renderer process is gone. This actually is sent by the
1195 // browser process to itself, but keeps the interface cleaner. 1195 // browser process to itself, but keeps the interface cleaner.
1196 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewGone) 1196 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderViewGone,
1197 int, /* this really is base::TerminationStatus */
1198 int /* exit_code */)
1197 1199
1198 // Sent by the renderer process to request that the browser close the view. 1200 // Sent by the renderer process to request that the browser close the view.
1199 // This corresponds to the window.close() API, and the browser may ignore 1201 // This corresponds to the window.close() API, and the browser may ignore
1200 // this message. Otherwise, the browser will generates a ViewMsg_Close 1202 // this message. Otherwise, the browser will generates a ViewMsg_Close
1201 // message to close the view. 1203 // message to close the view.
1202 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) 1204 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close)
1203 1205
1204 // Sent by the renderer process to request that the browser move the view. 1206 // Sent by the renderer process to request that the browser move the view.
1205 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and 1207 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and
1206 // the browser may ignore this message. 1208 // the browser may ignore this message.
(...skipping 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after
3070 base::PlatformFileInfo, /* info */ 3072 base::PlatformFileInfo, /* info */
3071 base::PlatformFileError /* error_code */) 3073 base::PlatformFileError /* error_code */)
3072 3074
3073 // Get the directory's contents. 3075 // Get the directory's contents.
3074 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, 3076 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents,
3075 FilePath /* path */, 3077 FilePath /* path */,
3076 PepperDirContents, /* contents */ 3078 PepperDirContents, /* contents */
3077 base::PlatformFileError /* error_code */) 3079 base::PlatformFileError /* error_code */)
3078 3080
3079 IPC_END_MESSAGES(ViewHost) 3081 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698