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

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: _ 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
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..6381c21a4f63b6ea53433ea06e747ce4326a9d79 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
@@ -29,6 +33,7 @@ class WEBKIT_STORAGE_EXPORT BlobProtocolHandler
// |controller|'s lifetime should exceed the lifetime of the ProtocolHandler.
explicit BlobProtocolHandler(
BlobStorageController* blob_storage_controller,
+ fileapi::FileSystemContext* file_system_context,
base::MessageLoopProxy* file_loop_proxy);
virtual ~BlobProtocolHandler();
@@ -43,6 +48,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);

Powered by Google App Engine
This is Rietveld 408576698