From 996bdbda28035f7f68955525625c998290706281 Mon Sep 17 00:00:00 2001 From: "polina@google.com" Date: Mon, 11 Apr 2011 22:46:44 +0000 Subject: 1;2cReplace PP_ERROR_WOULDBLOCK with PP_OK_COMPLETIONPENDING. Improve error code comments. Update all code that uses this error code. Keep the old code for now flagging it as deprecated. Update copyrights. BUG=none TEST=bots Review URL: http://codereview.chromium.org/6814033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81168 0039d316-1c4b-4281-b951-d872f2087c98 --- content/renderer/pepper_plugin_delegate_impl.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content/renderer/pepper_plugin_delegate_impl.cc') diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc index b4b5b3f..f8b5355 100644 --- a/content/renderer/pepper_plugin_delegate_impl.cc +++ b/content/renderer/pepper_plugin_delegate_impl.cc @@ -766,7 +766,7 @@ int32_t PepperPluginDelegateImpl::ConnectTcp( return PP_ERROR_FAILED; } - return PP_ERROR_WOULDBLOCK; + return PP_OK_COMPLETIONPENDING; } int32_t PepperPluginDelegateImpl::ConnectTcpAddress( @@ -783,7 +783,7 @@ int32_t PepperPluginDelegateImpl::ConnectTcpAddress( return PP_ERROR_FAILED; } - return PP_ERROR_WOULDBLOCK; + return PP_OK_COMPLETIONPENDING; } void PepperPluginDelegateImpl::OnConnectTcpACK( @@ -839,7 +839,7 @@ int32_t PepperPluginDelegateImpl::ShowContextMenu( return PP_ERROR_FAILED; } - return PP_ERROR_WOULDBLOCK; + return PP_OK_COMPLETIONPENDING; } void PepperPluginDelegateImpl::OnContextMenuClosed( -- cgit v1.1