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

Unified Diff: webkit/fileapi/quota_file_util.h

Issue 7470037: [Refactor] to rename and re-layer the file_util stack layers. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Rebased on the svn tree. Created 9 years, 3 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/obfuscated_file_util_unittest.cc ('k') | webkit/fileapi/quota_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/quota_file_util.h
diff --git a/webkit/fileapi/quota_file_util.h b/webkit/fileapi/quota_file_util.h
index 991497b7dfe52b799971fac9bdfe9ed6b824a9a2..25be5f3619848e55484a7720d53c676d4dd87aa5 100644
--- a/webkit/fileapi/quota_file_util.h
+++ b/webkit/fileapi/quota_file_util.h
@@ -25,28 +25,24 @@ class QuotaFileUtil : public FileSystemFileUtil {
explicit QuotaFileUtil(FileSystemFileUtil* underlying_file_util);
virtual ~QuotaFileUtil();
- // Creates a QuotaFileUtil instance with an underlying FileSystemFileUtil
+ // Creates a QuotaFileUtil instance with an underlying NativeFileUtil
// instance.
static QuotaFileUtil* CreateDefault();
+ virtual base::PlatformFileError Truncate(
+ FileSystemOperationContext* fs_context,
+ const FilePath& path,
+ int64 length) OVERRIDE;
virtual base::PlatformFileError CopyOrMoveFile(
FileSystemOperationContext* fs_context,
const FilePath& src_file_path,
const FilePath& dest_file_path,
bool copy) OVERRIDE;
-
virtual base::PlatformFileError DeleteFile(
FileSystemOperationContext* fs_context,
const FilePath& file_path) OVERRIDE;
- virtual base::PlatformFileError Truncate(
- FileSystemOperationContext* fs_context,
- const FilePath& path,
- int64 length) OVERRIDE;
-
private:
- scoped_ptr<FileSystemFileUtil> underlying_file_util_;
-
DISALLOW_COPY_AND_ASSIGN(QuotaFileUtil);
};
« no previous file with comments | « webkit/fileapi/obfuscated_file_util_unittest.cc ('k') | webkit/fileapi/quota_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698