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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 // The browser replies to a renderer's temp file request with output_file, | 84 // The browser replies to a renderer's temp file request with output_file, |
85 // which is either a writeable temp file to use for translation, or a | 85 // which is either a writeable temp file to use for translation, or a |
86 // read-only file containing the translated nexe from the cache. | 86 // read-only file containing the translated nexe from the cache. |
87 IPC_MESSAGE_CONTROL3(NaClViewMsg_NexeTempFileReply, | 87 IPC_MESSAGE_CONTROL3(NaClViewMsg_NexeTempFileReply, |
88 int /* instance */, | 88 int /* instance */, |
89 bool /* is_cache_hit */, | 89 bool /* is_cache_hit */, |
90 IPC::PlatformFileForTransit /* output file */) | 90 IPC::PlatformFileForTransit /* output file */) |
91 | 91 |
92 // A renderer sends this to the browser to report that its translation has | 92 // A renderer sends this to the browser to report that its translation has |
93 // finished and its temp file contains the translated nexe. | 93 // finished and its temp file contains the translated nexe. |
94 IPC_MESSAGE_CONTROL1(NaClHostMsg_ReportTranslationFinished, | 94 IPC_MESSAGE_CONTROL2(NaClHostMsg_ReportTranslationFinished, |
95 int /* instance */) | 95 int /* instance */, |
| 96 bool /* success */) |
96 | 97 |
97 // A renderer sends this to the browser process to report an error. | 98 // A renderer sends this to the browser process to report an error. |
98 IPC_MESSAGE_CONTROL2(NaClHostMsg_NaClErrorStatus, | 99 IPC_MESSAGE_CONTROL2(NaClHostMsg_NaClErrorStatus, |
99 int /* render_view_id */, | 100 int /* render_view_id */, |
100 int /* Error ID */) | 101 int /* Error ID */) |
101 | 102 |
102 // A renderer sends this to the browser process when it wants to | 103 // A renderer sends this to the browser process when it wants to |
103 // open a NaCl executable file from an installed application directory. | 104 // open a NaCl executable file from an installed application directory. |
104 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, | 105 IPC_SYNC_MESSAGE_CONTROL2_3(NaClHostMsg_OpenNaClExecutable, |
105 int /* render_view_id */, | 106 int /* render_view_id */, |
106 GURL /* URL of NaCl executable file */, | 107 GURL /* URL of NaCl executable file */, |
107 IPC::PlatformFileForTransit /* output file */, | 108 IPC::PlatformFileForTransit /* output file */, |
108 uint64 /* file_token_lo */, | 109 uint64 /* file_token_lo */, |
109 uint64 /* file_token_hi */) | 110 uint64 /* file_token_hi */) |
OLD | NEW |