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

Unified Diff: content/browser/worker_host/worker_process_host.cc

Issue 15817013: Add Stream support to WebBlobRegistry and FileAPIMessageFilter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 4 months 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 | « content/browser/streams/stream_context.h ('k') | content/child/webblobregistry_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/worker_host/worker_process_host.cc
diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc
index 050cfa17681af7614f2e4f6b24bafb928fb7d366..fa37574a772ea83debd857a68c1f06a194ab2c68 100644
--- a/content/browser/worker_host/worker_process_host.cc
+++ b/content/browser/worker_host/worker_process_host.cc
@@ -229,6 +229,8 @@ bool WorkerProcessHost::Init(int render_process_id) {
void WorkerProcessHost::CreateMessageFilters(int render_process_id) {
ChromeBlobStorageContext* blob_storage_context =
GetChromeBlobStorageContextForResourceContext(resource_context_);
+ StreamContext* stream_context =
+ GetStreamContextForResourceContext(resource_context_);
net::URLRequestContextGetter* url_request_context =
partition_.url_request_context();
@@ -255,7 +257,8 @@ void WorkerProcessHost::CreateMessageFilters(int render_process_id) {
process_->GetData().id,
url_request_context,
partition_.filesystem_context(),
- blob_storage_context));
+ blob_storage_context,
+ stream_context));
process_->GetHost()->AddFilter(new FileUtilitiesMessageFilter(
process_->GetData().id));
process_->GetHost()->AddFilter(new MimeRegistryMessageFilter());
« no previous file with comments | « content/browser/streams/stream_context.h ('k') | content/child/webblobregistry_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698