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

Unified Diff: webkit/fileapi/file_system_operation.h

Issue 8424007: Bind: Merge FileUtilProxy and FileSystemFileUtilProxy: Delete/Touch/Truncate/Copy/Move (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 2 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
Index: webkit/fileapi/file_system_operation.h
diff --git a/webkit/fileapi/file_system_operation.h b/webkit/fileapi/file_system_operation.h
index ccfb033c8918164cb5f25ea498d6b37fe9f834df..e0610c2bb5d5ead91cb4598ad6cd9e507f702256 100644
--- a/webkit/fileapi/file_system_operation.h
+++ b/webkit/fileapi/file_system_operation.h
@@ -120,9 +120,11 @@ class FileSystemOperation {
const GURL& origin_url,
const quota::QuotaManager::GetUsageAndQuotaCallback& callback);
- void DelayedCreateFileForQuota(quota::QuotaStatusCode status,
+ void DelayedCreateFileForQuota(bool exclusive,
+ quota::QuotaStatusCode status,
int64 usage, int64 quota);
- void DelayedCreateDirectoryForQuota(quota::QuotaStatusCode status,
+ void DelayedCreateDirectoryForQuota(bool exclusive, bool recursive,
+ quota::QuotaStatusCode status,
int64 usage, int64 quota);
void DelayedCopyForQuota(quota::QuotaStatusCode status,
int64 usage, int64 quota);
@@ -130,9 +132,11 @@ class FileSystemOperation {
int64 usage, int64 quota);
void DelayedWriteForQuota(quota::QuotaStatusCode status,
int64 usage, int64 quota);
- void DelayedTruncateForQuota(quota::QuotaStatusCode status,
+ void DelayedTruncateForQuota(int64 length,
+ quota::QuotaStatusCode status,
int64 usage, int64 quota);
- void DelayedOpenFileForQuota(quota::QuotaStatusCode status,
+ void DelayedOpenFileForQuota(int file_flags,
+ quota::QuotaStatusCode status,
int64 usage, int64 quota);
// A callback used for OpenFileSystem.
@@ -275,16 +279,6 @@ class FileSystemOperation {
FilePath src_virtual_path_;
FilePath dest_virtual_path_;
- // Options for CreateFile and CreateDirectory.
- bool exclusive_;
- bool recursive_;
-
- // Options for OpenFile.
- int file_flags_;
-
- // Length to be truncated.
- int64 length_;
-
DISALLOW_COPY_AND_ASSIGN(FileSystemOperation);
};

Powered by Google App Engine
This is Rietveld 408576698