diff options
Diffstat (limited to 'chrome/browser/renderer_host/resource_dispatcher_host.cc')
-rw-r--r-- | chrome/browser/renderer_host/resource_dispatcher_host.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/resource_dispatcher_host.cc b/chrome/browser/renderer_host/resource_dispatcher_host.cc index 998850d5..8293a3e 100644 --- a/chrome/browser/renderer_host/resource_dispatcher_host.cc +++ b/chrome/browser/renderer_host/resource_dispatcher_host.cc @@ -395,6 +395,7 @@ void ResourceDispatcherHost::BeginRequest( request_id, request_data.frame_origin, request_data.main_frame_origin, + request_data.default_mime_type, request_data.resource_type, upload_size); extra_info->allow_download = @@ -531,6 +532,7 @@ void ResourceDispatcherHost::BeginDownload(const GURL& url, request_id_, "null", // frame_origin "null", // main_frame_origin + "", // default_mime_type ResourceType::SUB_RESOURCE, 0 /* upload_size */); extra_info->allow_download = true; @@ -585,6 +587,7 @@ void ResourceDispatcherHost::BeginSaveFile(const GURL& url, request_id_, "null", // frame_origin "null", // main_frame_origin + "", // default_mime_type ResourceType::SUB_RESOURCE, 0 /* upload_size */); // Just saving some resources we need, disallow downloading. |