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

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

Issue 9834039: Remove resource_request_info_impl.h dependency from chrome. This also makes blob/file system urls w… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/resource_context_impl.cc ('k') | content/content_browser.gypi » ('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
===================================================================
--- content/browser/worker_host/worker_process_host.cc (revision 128327)
+++ content/browser/worker_host/worker_process_host.cc (working copy)
@@ -92,7 +92,7 @@
host->GetDelegate()->WorkerCrashed();
}
-WorkerProcessHost::WorkerProcessHost(content::ResourceContext* resource_context)
+WorkerProcessHost::WorkerProcessHost(ResourceContext* resource_context)
: resource_context_(resource_context) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
DCHECK(resource_context);
@@ -198,7 +198,7 @@
cmd_line);
fileapi::FileSystemContext* file_system_context =
- ResourceContext::GetFileSystemContext(resource_context_);
+ GetFileSystemContextForResourceContext(resource_context_);
ChildProcessSecurityPolicyImpl::GetInstance()->AddWorker(
process_->GetData().id, render_process_id);
if (!CommandLine::ForCurrentProcess()->HasSwitch(
@@ -266,7 +266,7 @@
process_->GetHost()->AddFilter(new FileAPIMessageFilter(
process_->GetData().id,
request_context,
- ResourceContext::GetFileSystemContext(resource_context_),
+ GetFileSystemContextForResourceContext(resource_context_),
content::GetChromeBlobStorageContextForResourceContext(
resource_context_)));
process_->GetHost()->AddFilter(new FileUtilitiesMessageFilter(
« no previous file with comments | « content/browser/resource_context_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698