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

Unified Diff: chrome/renderer/webplugin_delegate_proxy.cc

Issue 435044: Send resource load notifications from plugins to devtools agent (Closed)
Patch Set: Sync with trunk Created 11 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.h ('k') | webkit/glue/plugins/plugin_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/webplugin_delegate_proxy.cc
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index 823080c57a7a5f056f6011c18e03432a16b3c3a0..2e24172f6bf3a213d0f1898250b16aad357f72eb 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -68,8 +68,9 @@ class ResourceClientProxy : public webkit_glue::WebPluginResourceClient {
~ResourceClientProxy() {
}
- void Initialize(int resource_id, const GURL& url, bool notify_needed,
- intptr_t notify_data, intptr_t existing_stream) {
+ void Initialize(unsigned long resource_id, const GURL& url,
+ bool notify_needed, intptr_t notify_data,
+ intptr_t existing_stream) {
resource_id_ = resource_id;
url_ = url;
notify_needed_ = notify_needed;
@@ -147,7 +148,7 @@ class ResourceClientProxy : public webkit_glue::WebPluginResourceClient {
private:
scoped_refptr<PluginChannelHost> channel_;
int instance_id_;
- int resource_id_;
+ unsigned long resource_id_;
GURL url_;
bool notify_needed_;
intptr_t notify_data_;
@@ -1125,7 +1126,7 @@ void WebPluginDelegateProxy::OnHandleURLRequest(
webkit_glue::WebPluginResourceClient*
WebPluginDelegateProxy::CreateResourceClient(
- int resource_id, const GURL& url, bool notify_needed,
+ unsigned long resource_id, const GURL& url, bool notify_needed,
intptr_t notify_data, intptr_t npstream) {
if (!channel_host_)
return NULL;
@@ -1148,7 +1149,7 @@ void WebPluginDelegateProxy::OnInitiateHTTPRangeRequest(
notify_data);
}
-void WebPluginDelegateProxy::OnDeferResourceLoading(int resource_id,
+void WebPluginDelegateProxy::OnDeferResourceLoading(unsigned long resource_id,
bool defer) {
plugin_->SetDeferResourceLoading(resource_id, defer);
}
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.h ('k') | webkit/glue/plugins/plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698