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

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

Issue 22309007: Add success status to ReportTranslationFinished in ppb_nacl_private and IPC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: jvoung, dmichael reviews Created 7 years, 4 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
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | ppapi/api/private/ppb_nacl_private.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 // 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
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 */)
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | ppapi/api/private/ppb_nacl_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698