Index: content/browser/renderer_host/render_process_host_impl.cc |
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
index 5ce5e599bde2418bc37fd530267810ddcb7cc4df..07f273dc88d9fae46e763b797716438760ae9784 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.cc |
+++ b/content/browser/renderer_host/render_process_host_impl.cc |
@@ -715,12 +715,13 @@ void RenderProcessHostImpl::CreateMessageFilters() { |
#endif |
AddFilter(new SpeechRecognitionDispatcherHost( |
IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext())); |
- AddFilter(new FileAPIMessageFilter( |
+ fileapi_message_filter_ = new FileAPIMessageFilter( |
GetID(), |
storage_partition_impl_->GetURLRequestContext(), |
storage_partition_impl_->GetFileSystemContext(), |
ChromeBlobStorageContext::GetFor(browser_context), |
- StreamContext::GetFor(browser_context))); |
+ StreamContext::GetFor(browser_context)); |
+ AddFilter(fileapi_message_filter_); |
AddFilter(new FileUtilitiesMessageFilter(GetID())); |
AddFilter(new MimeRegistryMessageFilter()); |
AddFilter(new DatabaseMessageFilter( |
@@ -840,6 +841,10 @@ void RenderProcessHostImpl::NotifyTimezoneChange() { |
Send(new ViewMsg_TimezoneChange()); |
} |
+BlobStorageHost* RenderProcessHostImpl::GetBlobStorageHost() const { |
+ return fileapi_message_filter_->GetBlobStorageHost(); |
+} |
+ |
void RenderProcessHostImpl::AddRoute( |
int32 routing_id, |
IPC::Listener* listener) { |