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

Unified Diff: webkit/blob/blob_url_request_job_factory.h

Issue 11103027: Support filesystem files from BlobURLRequestJob (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 2 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 | « webkit/blob/blob_url_request_job.cc ('k') | webkit/blob/blob_url_request_job_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/blob/blob_url_request_job_factory.h
diff --git a/webkit/blob/blob_url_request_job_factory.h b/webkit/blob/blob_url_request_job_factory.h
index ddc574233ea1bacd1b0406ae0b8fe03dded0f504..2473754045b723cdc75e9fedfce1f472457297c2 100644
--- a/webkit/blob/blob_url_request_job_factory.h
+++ b/webkit/blob/blob_url_request_job_factory.h
@@ -14,6 +14,10 @@ namespace base {
class MessageLoopProxy;
} // namespace base
+namespace fileapi {
+class FileSystemContext;
+} // namespace fileapi
+
namespace net {
class URLRequest;
} // namespace net
@@ -27,9 +31,9 @@ class WEBKIT_STORAGE_EXPORT BlobProtocolHandler
: public net::URLRequestJobFactory::ProtocolHandler {
public:
// |controller|'s lifetime should exceed the lifetime of the ProtocolHandler.
- explicit BlobProtocolHandler(
- BlobStorageController* blob_storage_controller,
- base::MessageLoopProxy* file_loop_proxy);
+ BlobProtocolHandler(BlobStorageController* blob_storage_controller,
+ fileapi::FileSystemContext* file_system_context,
+ base::MessageLoopProxy* file_loop_proxy);
virtual ~BlobProtocolHandler();
virtual net::URLRequestJob* MaybeCreateJob(
@@ -43,6 +47,7 @@ class WEBKIT_STORAGE_EXPORT BlobProtocolHandler
// No scoped_refptr because |blob_storage_controller_| is owned by the
// ProfileIOData, which also owns this ProtocolHandler.
BlobStorageController* const blob_storage_controller_;
+ const scoped_refptr<fileapi::FileSystemContext> file_system_context_;
const scoped_refptr<base::MessageLoopProxy> file_loop_proxy_;
DISALLOW_COPY_AND_ASSIGN(BlobProtocolHandler);
« no previous file with comments | « webkit/blob/blob_url_request_job.cc ('k') | webkit/blob/blob_url_request_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698