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

Unified Diff: webkit/fileapi/file_system_operation_context.cc

Issue 14341004: FileAPI code should not rely on or assume specific MountPointProvider types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « webkit/fileapi/file_system_operation_context.h ('k') | webkit/fileapi/isolated_mount_point_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_operation_context.cc
diff --git a/webkit/fileapi/file_system_operation_context.cc b/webkit/fileapi/file_system_operation_context.cc
index 9597954dfcfde7c8f91e5212b5a113229a4b4095..6305cea0d8b967c5d84a64194dd07b9f24b68aea 100644
--- a/webkit/fileapi/file_system_operation_context.cc
+++ b/webkit/fileapi/file_system_operation_context.cc
@@ -16,11 +16,13 @@ FileSystemOperationContext::FileSystemOperationContext(
task_runner_(file_system_context_->task_runners()->file_task_runner()),
allowed_bytes_growth_(0) {}
-FileSystemOperationContext::~FileSystemOperationContext() {}
+FileSystemOperationContext::FileSystemOperationContext(
+ FileSystemContext* context,
+ base::SequencedTaskRunner* task_runner)
+ : file_system_context_(context),
+ task_runner_(task_runner),
+ allowed_bytes_growth_(0) {}
-void FileSystemOperationContext::set_task_runner(
- base::SequencedTaskRunner* task_runner) {
- task_runner_ = task_runner;
-}
+FileSystemOperationContext::~FileSystemOperationContext() {}
} // namespace fileapi
« no previous file with comments | « webkit/fileapi/file_system_operation_context.h ('k') | webkit/fileapi/isolated_mount_point_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698