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

Side by Side Diff: components/nacl/common/nacl_messages.h

Issue 198083006: Update the task manager with the debug stub port chosen by nacl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // Defines messages between the browser and NaCl process. 5 // Defines messages between the browser and NaCl process.
6 6
7 // Multiply-included message file, no traditional include guard. 7 // Multiply-included message file, no traditional include guard.
8 #include "base/process/process.h" 8 #include "base/process/process.h"
9 #include "components/nacl/common/nacl_types.h" 9 #include "components/nacl/common/nacl_types.h"
10 #include "ipc/ipc_channel_handle.h" 10 #include "ipc/ipc_channel_handle.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 // Notify the broker that all loader processes have been terminated and it 60 // Notify the broker that all loader processes have been terminated and it
61 // should shutdown. 61 // should shutdown.
62 IPC_MESSAGE_CONTROL0(NaClProcessMsg_StopBroker) 62 IPC_MESSAGE_CONTROL0(NaClProcessMsg_StopBroker)
63 63
64 // Used by the NaCl process to request that a Windows debug exception 64 // Used by the NaCl process to request that a Windows debug exception
65 // handler be attached to it. 65 // handler be attached to it.
66 IPC_SYNC_MESSAGE_CONTROL1_1(NaClProcessMsg_AttachDebugExceptionHandler, 66 IPC_SYNC_MESSAGE_CONTROL1_1(NaClProcessMsg_AttachDebugExceptionHandler,
67 std::string, /* Internal process info */ 67 std::string, /* Internal process info */
68 bool /* Result */) 68 bool /* Result */)
69
70 // Notify the browser process that the NaCl process has bound the given
71 // TCP port number to use for the GDB debug stub.
72 IPC_MESSAGE_CONTROL1(NaClProcessHostMsg_DebugStubPortSelected,
73 uint16_t /* debug_stub_port */)
69 #endif 74 #endif
70 75
71 // Used by the NaCl process to query a database in the browser. The database 76 // Used by the NaCl process to query a database in the browser. The database
72 // contains the signatures of previously validated code chunks. 77 // contains the signatures of previously validated code chunks.
73 IPC_SYNC_MESSAGE_CONTROL1_1(NaClProcessMsg_QueryKnownToValidate, 78 IPC_SYNC_MESSAGE_CONTROL1_1(NaClProcessMsg_QueryKnownToValidate,
74 std::string, /* A validation signature */ 79 std::string, /* A validation signature */
75 bool /* Can validation be skipped? */) 80 bool /* Can validation be skipped? */)
76 81
77 // Used by the NaCl process to add a validation signature to the validation 82 // Used by the NaCl process to add a validation signature to the validation
78 // database in the browser. 83 // database in the browser.
79 IPC_MESSAGE_CONTROL1(NaClProcessMsg_SetKnownToValidate, 84 IPC_MESSAGE_CONTROL1(NaClProcessMsg_SetKnownToValidate,
80 std::string /* A validation signature */) 85 std::string /* A validation signature */)
81 86
82 // Used by the NaCl process to acquire trusted information about a file directly 87 // Used by the NaCl process to acquire trusted information about a file directly
83 // from the browser, including the file's path as well as a fresh version of the 88 // from the browser, including the file's path as well as a fresh version of the
84 // file handle. 89 // file handle.
85 IPC_SYNC_MESSAGE_CONTROL2_2(NaClProcessMsg_ResolveFileToken, 90 IPC_SYNC_MESSAGE_CONTROL2_2(NaClProcessMsg_ResolveFileToken,
86 uint64, /* file_token_lo */ 91 uint64, /* file_token_lo */
87 uint64, /* file_token_hi */ 92 uint64, /* file_token_hi */
88 IPC::PlatformFileForTransit, /* fd */ 93 IPC::PlatformFileForTransit, /* fd */
89 base::FilePath /* Path opened to get fd */) 94 base::FilePath /* Path opened to get fd */)
90 95
91 // Notify the browser process that the server side of the PPAPI channel was 96 // Notify the browser process that the server side of the PPAPI channel was
92 // created successfully. 97 // created successfully.
93 IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated, 98 IPC_MESSAGE_CONTROL4(NaClProcessHostMsg_PpapiChannelsCreated,
94 IPC::ChannelHandle, /* browser_channel_handle */ 99 IPC::ChannelHandle, /* browser_channel_handle */
95 IPC::ChannelHandle, /* ppapi_renderer_channel_handle */ 100 IPC::ChannelHandle, /* ppapi_renderer_channel_handle */
96 IPC::ChannelHandle, /* trusted_renderer_channel_handle */ 101 IPC::ChannelHandle, /* trusted_renderer_channel_handle */
97 IPC::ChannelHandle /* manifest_service_channel_handle */) 102 IPC::ChannelHandle /* manifest_service_channel_handle */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698