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

Unified Diff: webkit/fileapi/file_system_operation_context.h

Issue 7608011: Simplify directory path accounting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rolled in CR feedback. Created 9 years, 4 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_file_util_unittest.cc ('k') | webkit/fileapi/file_system_operation_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_operation_context.h
diff --git a/webkit/fileapi/file_system_operation_context.h b/webkit/fileapi/file_system_operation_context.h
index 04f216cea7f25e6f853246754fdd141ce11e0d5d..398f0d68bd4554d7eefd46b4ad273065aa1afe73 100644
--- a/webkit/fileapi/file_system_operation_context.h
+++ b/webkit/fileapi/file_system_operation_context.h
@@ -101,24 +101,7 @@ class FileSystemOperationContext {
int64 allowed_bytes_growth() const { return allowed_bytes_growth_; }
- // TODO(dmikurube): Eliminate this flag eventually.
- // This flag is temporarily prepared to allow ObfuscatedFSFU to account
- // directories' cost without making actual directories. This should be
- // dealed with more fundamentally.
- void set_do_not_write_actually(
- bool do_not_write_actually) {
- do_not_write_actually_ = do_not_write_actually;
- }
-
- bool do_not_write_actually() const {
- return do_not_write_actually_;
- }
-
FileSystemOperationContext* CreateInheritedContextForDest() const;
- FileSystemOperationContext* CreateInheritedContextWithNewVirtualPaths(
- const FilePath& new_src_virtual_path,
- const FilePath& new_dest_virtual_path) const;
- void ImportAllowedBytesGrowth(const FileSystemOperationContext& other);
private:
scoped_refptr<FileSystemContext> file_system_context_;
@@ -133,7 +116,6 @@ class FileSystemOperationContext {
FileSystemType src_type_; // Also used for any single-path operation.
FileSystemType dest_type_;
int64 allowed_bytes_growth_;
- bool do_not_write_actually_;
// Used for delayed operation by quota.
FilePath src_virtual_path_; // Also used for any single-path operation.
« no previous file with comments | « webkit/fileapi/file_system_file_util_unittest.cc ('k') | webkit/fileapi/file_system_operation_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698