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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 18023022: Blob support for IDB [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use ScopedVector and stl_utils for BlobDataHandles. Created 7 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
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 08e75cf2add340676c12d9fc5b94ad4d7f1fd1fd..a380ee429ffab3e66176341a928832d46bb1e203 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -641,8 +641,17 @@ void RenderProcessHostImpl::CreateMessageFilters() {
AddFilter(new DOMStorageMessageFilter(
GetID(),
storage_partition_impl_->GetDOMStorageContext()));
+ AddFilter(new FileAPIMessageFilter(
+ GetID(),
+ storage_partition_impl_->GetURLRequestContext(),
+ storage_partition_impl_->GetFileSystemContext(),
+ ChromeBlobStorageContext::GetFor(browser_context),
+ StreamContext::GetFor(browser_context)));
AddFilter(new IndexedDBDispatcherHost(
- storage_partition_impl_->GetIndexedDBContext()));
+ GetID(),
+ storage_partition_impl_->GetURLRequestContext(),
+ storage_partition_impl_->GetIndexedDBContext(),
+ ChromeBlobStorageContext::GetFor(browser_context)));
scoped_refptr<ServiceWorkerDispatcherHost> service_worker_filter =
new ServiceWorkerDispatcherHost(GetID());
@@ -682,12 +691,6 @@ void RenderProcessHostImpl::CreateMessageFilters() {
#endif
AddFilter(new SpeechRecognitionDispatcherHost(
IsGuest(), GetID(), storage_partition_impl_->GetURLRequestContext()));
- AddFilter(new FileAPIMessageFilter(
- GetID(),
- storage_partition_impl_->GetURLRequestContext(),
- storage_partition_impl_->GetFileSystemContext(),
- ChromeBlobStorageContext::GetFor(browser_context),
- StreamContext::GetFor(browser_context)));
AddFilter(new FileUtilitiesMessageFilter(GetID()));
AddFilter(new MimeRegistryMessageFilter());
AddFilter(new DatabaseMessageFilter(

Powered by Google App Engine
This is Rietveld 408576698