summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 05:49:12 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-30 05:49:12 +0000
commitadb2923ca85bd46112112df8d056308ad3798b0f (patch)
tree77f12bab8d89832ff623bd3d964e5e839726ba59 /chrome/common
parent1fc13aae9f6326f44f7db26954aa60df84eb8677 (diff)
downloadchromium_src-adb2923ca85bd46112112df8d056308ad3798b0f.zip
chromium_src-adb2923ca85bd46112112df8d056308ad3798b0f.tar.gz
chromium_src-adb2923ca85bd46112112df8d056308ad3798b0f.tar.bz2
Another attempt at landing this patch.
The reliability tests regressions caused by this patch have been addressed by the upstream bug fix https://bugs.webkit.org/show_bug.cgi?id=27769 The IPCs for carrying data requested by plugins have been changed from synchronous IPCs to asynchronous IPCs. This fixes bug http://code.google.com/p/chromium/issues/detail?id=14323, where the Flash plugin would not render content on the page if these IPCs were processed while the plugin waited for sync calls like NPN_Evaluate to return. Test=covered by UI tests. Bug=14323 Review URL: http://codereview.chromium.org/160338 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/plugin_messages_internal.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/chrome/common/plugin_messages_internal.h b/chrome/common/plugin_messages_internal.h
index 18152d9..5138d5a 100644
--- a/chrome/common/plugin_messages_internal.h
+++ b/chrome/common/plugin_messages_internal.h
@@ -183,20 +183,19 @@ IPC_BEGIN_MESSAGES(Plugin)
int /* id */,
GURL /* url */)
- IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_DidReceiveResponse,
- PluginMsg_DidReceiveResponseParams,
- bool /* cancel */)
+ IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse,
+ PluginMsg_DidReceiveResponseParams)
- IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_DidReceiveData,
- int /* id */,
- std::vector<char> /* buffer */,
- int /* data_offset */)
+ IPC_MESSAGE_ROUTED3(PluginMsg_DidReceiveData,
+ int /* id */,
+ std::vector<char> /* buffer */,
+ int /* data_offset */)
- IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoading,
- int /* id */)
+ IPC_MESSAGE_ROUTED1(PluginMsg_DidFinishLoading,
+ int /* id */)
- IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFail,
- int /* id */)
+ IPC_MESSAGE_ROUTED1(PluginMsg_DidFail,
+ int /* id */)
IPC_MESSAGE_ROUTED5(PluginMsg_SendJavaScriptStream,
std::string /* url */,