diff options
author | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 07:11:34 +0000 |
---|---|---|
committer | yurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-03 07:11:34 +0000 |
commit | 3d248b2db2eae7c805ada987f997caa0929700c7 (patch) | |
tree | e00b151dee03e241775e33f460b0585dd49b20ea /chrome/common | |
parent | 53a5453c5ade1cadf95989a2102cf56873888e78 (diff) | |
download | chromium_src-3d248b2db2eae7c805ada987f997caa0929700c7.zip chromium_src-3d248b2db2eae7c805ada987f997caa0929700c7.tar.gz chromium_src-3d248b2db2eae7c805ada987f997caa0929700c7.tar.bz2 |
Send resource load notifications from plugins to devtools agent. This is a part of a fix which would allow to inspect plugin resources.
BUG=2084
Review URL: http://codereview.chromium.org/435044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33672 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/plugin_messages.h | 4 | ||||
-rw-r--r-- | chrome/common/plugin_messages_internal.h | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/chrome/common/plugin_messages.h b/chrome/common/plugin_messages.h index 0bfddee..eeea874 100644 --- a/chrome/common/plugin_messages.h +++ b/chrome/common/plugin_messages.h @@ -54,7 +54,7 @@ struct PluginHostMsg_URLRequest_Params { }; struct PluginMsg_URLRequestReply_Params { - int resource_id; + unsigned long resource_id; GURL url; bool notify_needed; intptr_t notify_data; @@ -62,7 +62,7 @@ struct PluginMsg_URLRequestReply_Params { }; struct PluginMsg_DidReceiveResponseParams { - int id; + unsigned long id; std::string mime_type; std::string headers; uint32 expected_length; diff --git a/chrome/common/plugin_messages_internal.h b/chrome/common/plugin_messages_internal.h index 48c3bcf..923a750 100644 --- a/chrome/common/plugin_messages_internal.h +++ b/chrome/common/plugin_messages_internal.h @@ -232,22 +232,22 @@ IPC_BEGIN_MESSAGES(Plugin) WebCursor /* cursor type*/) IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, - int /* id */, + unsigned long /* id */, GURL /* url */) IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse, PluginMsg_DidReceiveResponseParams) IPC_MESSAGE_ROUTED3(PluginMsg_DidReceiveData, - int /* id */, + unsigned long /* id */, std::vector<char> /* buffer */, int /* data_offset */) IPC_MESSAGE_ROUTED1(PluginMsg_DidFinishLoading, - int /* id */) + unsigned long /* id */) IPC_MESSAGE_ROUTED1(PluginMsg_DidFail, - int /* id */) + unsigned long /* id */) IPC_MESSAGE_ROUTED5(PluginMsg_SendJavaScriptStream, GURL /* url */, @@ -366,7 +366,7 @@ IPC_BEGIN_MESSAGES(PluginHost) intptr_t /* notify_data */) IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading, - int /* resource_id */, + unsigned long /* resource_id */, bool /* defer */) IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, |