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

Unified Diff: content/browser/fileapi/fileapi_message_filter.h

Issue 19705017: Create a new FileSystemOperationRunner for each FileAPIMessageFilter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « no previous file | content/browser/fileapi/fileapi_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/fileapi/fileapi_message_filter.h
diff --git a/content/browser/fileapi/fileapi_message_filter.h b/content/browser/fileapi/fileapi_message_filter.h
index 9d7f8bb86c3549ece0467ae537e0bf6326e5acd8..ed3b8d80b481323f62713af3fb021b0dd97a5d5d 100644
--- a/content/browser/fileapi/fileapi_message_filter.h
+++ b/content/browser/fileapi/fileapi_message_filter.h
@@ -32,6 +32,7 @@ class Time;
namespace fileapi {
class FileSystemURL;
class FileSystemContext;
+class FileSystemOperationRunner;
struct DirectoryEntry;
}
@@ -169,7 +170,9 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
int permissions,
base::PlatformFileError* error);
- fileapi::FileSystemOperationRunner* operation_runner();
+ fileapi::FileSystemOperationRunner* operation_runner() {
+ return operation_runner_.get();
+ }
int process_id_;
@@ -187,6 +190,8 @@ class CONTENT_EXPORT FileAPIMessageFilter : public BrowserMessageFilter {
scoped_refptr<ChromeBlobStorageContext> blob_storage_context_;
+ scoped_ptr<fileapi::FileSystemOperationRunner> operation_runner_;
+
// Keep track of blob URLs registered in this process. Need to unregister
// all of them when the renderer process dies.
base::hash_set<std::string> blob_urls_;
« no previous file with comments | « no previous file | content/browser/fileapi/fileapi_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698