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

Unified Diff: chrome/browser/net/file_system_url_request_job_factory.cc

Issue 6864040: Fixed file/directory url resolution for external mount point provider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
Index: chrome/browser/net/file_system_url_request_job_factory.cc
===================================================================
--- chrome/browser/net/file_system_url_request_job_factory.cc (revision 82259)
+++ chrome/browser/net/file_system_url_request_job_factory.cc (working copy)
@@ -15,19 +15,19 @@
net::URLRequestJob* FileSystemURLRequestJobFactory(net::URLRequest* request,
const std::string& scheme) {
- fileapi::FileSystemPathManager* path_manager =
+ fileapi::FileSystemContext* file_system_context =
static_cast<ChromeURLRequestContext*>(request->context())
- ->file_system_context()->path_manager();
+ ->file_system_context();
const std::string path = request->url().path();
// If the path ends with a /, we know it's a directory. If the path refers
// to a directory and gets dispatched to FileSystemURLRequestJob, that class
// redirects back here, by adding a / to the URL.
if (!path.empty() && path[path.size() - 1] == '/') {
- return new fileapi::FileSystemDirURLRequestJob(request, path_manager,
+ return new fileapi::FileSystemDirURLRequestJob(request, file_system_context,
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));
}
- return new fileapi::FileSystemURLRequestJob(request, path_manager,
+ return new fileapi::FileSystemURLRequestJob(request, file_system_context,
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));
}

Powered by Google App Engine
This is Rietveld 408576698