summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/local_file_system_operation.cc
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-23 15:22:49 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-23 15:22:49 +0000
commit6505c4eb4f3ee45d7f6a6732073c4455170017b2 (patch)
tree38e021f50d226f93e8e1aaecb0ffc4521502acc3 /webkit/fileapi/local_file_system_operation.cc
parent6416b3750ca4a85fdf924da53d081ff423fb8319 (diff)
downloadchromium_src-6505c4eb4f3ee45d7f6a6732073c4455170017b2.zip
chromium_src-6505c4eb4f3ee45d7f6a6732073c4455170017b2.tar.gz
chromium_src-6505c4eb4f3ee45d7f6a6732073c4455170017b2.tar.bz2
Cleanup: Make most of FileSystemOperationContext setters private
- To make it clear which value might be changed during the execution (currently remaining quota bytes (allowed_bytes_growth) is the only value that could be updated - To make it clear when one operation context can be shared by multiple file operations BUG=none TEST=existing tests Review URL: https://chromiumcodereview.appspot.com/12045014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178298 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/local_file_system_operation.cc')
-rw-r--r--webkit/fileapi/local_file_system_operation.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/fileapi/local_file_system_operation.cc b/webkit/fileapi/local_file_system_operation.cc
index ab07cf2..1aa7071 100644
--- a/webkit/fileapi/local_file_system_operation.cc
+++ b/webkit/fileapi/local_file_system_operation.cc
@@ -453,7 +453,8 @@ void LocalFileSystemOperation::CopyInForeignFile(
LocalFileSystemOperation::LocalFileSystemOperation(
FileSystemContext* file_system_context,
scoped_ptr<FileSystemOperationContext> operation_context)
- : operation_context_(operation_context.Pass()),
+ : file_system_context_(file_system_context),
+ operation_context_(operation_context.Pass()),
src_util_(NULL),
dest_util_(NULL),
is_cross_operation_(false),