| OLD | NEW |
| 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/process/process.h" | 10 #include "base/process/process.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 | 97 |
| 98 // A renderer sends this to the browser process when it wants to | 98 // A renderer sends this to the browser process when it wants to |
| 99 // open a NaCl executable file from an installed application directory. | 99 // open a NaCl executable file from an installed application directory. |
| 100 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, | 100 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, |
| 101 int /* render_view_id */, | 101 int /* render_view_id */, |
| 102 GURL /* URL of NaCl executable file */, | 102 GURL /* URL of NaCl executable file */, |
| 103 IPC::PlatformFileForTransit /* output file */, | 103 IPC::PlatformFileForTransit /* output file */, |
| 104 uint64 /* file_token_lo */, | 104 uint64 /* file_token_lo */, |
| 105 uint64 /* file_token_hi */) | 105 uint64 /* file_token_hi */) |
| 106 | 106 |
| 107 // A renderer sends this to the browser process to determine how many |
| 108 // processors are online. |
| 107 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, | 109 IPC_SYNC_MESSAGE_CONTROL0_1(NaClHostMsg_NaClGetNumProcessors, |
| 108 int /* Number of processors */) | 110 int /* Number of processors */) |
| 111 |
| 112 // A renderer sends this to the browser process to determine if the |
| 113 // NaCl application started from the given NMF URL will be debugged. |
| 114 // If not (filtered out by commandline flags), it sets should_debug to false. |
| 115 IPC_SYNC_MESSAGE_CONTROL1_1(NaClHostMsg_NaClDebugEnabledForURL, |
| 116 GURL /* alleged URL of NMF file */, |
| 117 bool /* should debug */) |
| OLD | NEW |