summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webplugin_delegate_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/webplugin_delegate_proxy.cc')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index 823080c..2e24172 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);
}