summaryrefslogtreecommitdiffstats
path: root/content/browser/worker_host/worker_process_host.cc
diff options
context:
space:
mode:
authortyoshino@chromium.org <tyoshino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-06 07:45:23 +0000
committertyoshino@chromium.org <tyoshino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-06 07:45:23 +0000
commit90b3777adb78a13ebfcd17174ab1dc36fca63686 (patch)
tree9bdb1f2a86441753a3492c9541f2fd6b5e92185a /content/browser/worker_host/worker_process_host.cc
parent3f89167567defcc967b4e125b27170bc43f8c79c (diff)
downloadchromium_src-90b3777adb78a13ebfcd17174ab1dc36fca63686.zip
chromium_src-90b3777adb78a13ebfcd17174ab1dc36fca63686.tar.gz
chromium_src-90b3777adb78a13ebfcd17174ab1dc36fca63686.tar.bz2
Add Stream support to WebBlobRegistry and FileAPIMessageFilter.
Some of existing IPCs and methods for Blob are renamed for readability. Note - raw data sending code in webblobregistry_impl.cc are duplicated intentionally not to bother michaeln's refactoring Bonus: Stopped over-optimization of sharing webkit_blob::BlobData::Item instances in webblobregistry_impl.cc BUG=169957 Review URL: https://chromiumcodereview.appspot.com/15817013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/worker_host/worker_process_host.cc')
-rw-r--r--content/browser/worker_host/worker_process_host.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc
index 050cfa1..fa37574 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());