summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppapi_messages_internal.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-28 20:01:16 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-28 20:01:16 +0000
commit2031aeb7449a3cdf6a344fd3338d6d675e275592 (patch)
tree4d2a4318bb239bb5f3479f8a1345e9fe0d033bea /ppapi/proxy/ppapi_messages_internal.h
parent42815290666fbe4b6cc7e26bacd38df95dbdd7e0 (diff)
downloadchromium_src-2031aeb7449a3cdf6a344fd3338d6d675e275592.zip
chromium_src-2031aeb7449a3cdf6a344fd3338d6d675e275592.tar.gz
chromium_src-2031aeb7449a3cdf6a344fd3338d6d675e275592.tar.bz2
Fix some bugs with incorrect ! (both missing and extra) in the proxy error handling.
Go back to using the old code for the audio created notification. There was a bug deserializing one of the handles, and the new code I wrote didn't turn out to be necessary anyway. TEST=audio plays in out-of-process proxy (manual) BUG=none Review URL: http://codereview.chromium.org/6341015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/ppapi_messages_internal.h')
-rw-r--r--ppapi/proxy/ppapi_messages_internal.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/ppapi/proxy/ppapi_messages_internal.h b/ppapi/proxy/ppapi_messages_internal.h
index e949ad1..07cf77b 100644
--- a/ppapi/proxy/ppapi_messages_internal.h
+++ b/ppapi/proxy/ppapi_messages_internal.h
@@ -45,8 +45,12 @@ IPC_MESSAGE_CONTROL2(PpapiMsg_ExecuteCallback,
//
// The handler of this message should always close all of the handles passed
// in, since some could be valid even in the error case.
-IPC_MESSAGE_ROUTED1(PpapiMsg_PPBAudio_NotifyAudioStreamCreated,
- pp::proxy::PPBAudio_NotifyAudioStreamCreated_Params);
+IPC_MESSAGE_ROUTED5(PpapiMsg_PPBAudio_NotifyAudioStreamCreated,
+ pp::proxy::HostResource /* audio_id */,
+ int32_t /* result_code (will be != PP_OK on failure) */,
+ IPC::PlatformFileForTransit /* socket_handle */,
+ base::SharedMemoryHandle /* handle */,
+ int32_t /* length */)
// PPB_Graphics2D.
IPC_MESSAGE_ROUTED2(PpapiMsg_PPBGraphics2D_FlushACK,