| Index: webkit/fileapi/syncable/canned_syncable_file_system.h
|
| diff --git a/webkit/fileapi/syncable/canned_syncable_file_system.h b/webkit/fileapi/syncable/canned_syncable_file_system.h
|
| index 6c94b015e2f7b628464492c7d0b651de9374931b..3a693285b31c5fee77e93b19f20a0b473f0a1266 100644
|
| --- a/webkit/fileapi/syncable/canned_syncable_file_system.h
|
| +++ b/webkit/fileapi/syncable/canned_syncable_file_system.h
|
| @@ -14,6 +14,7 @@
|
| #include "webkit/fileapi/file_system_types.h"
|
| #include "webkit/fileapi/local_file_system_test_helper.h"
|
| #include "webkit/fileapi/syncable/sync_status_code.h"
|
| +#include "webkit/quota/quota_types.h"
|
|
|
| namespace base {
|
| class MessageLoopProxy;
|
| @@ -94,9 +95,12 @@ class CannedSyncableFileSystem {
|
| int64 Write(net::URLRequestContext* url_request_context,
|
| const FileSystemURL& url, const GURL& blob_url);
|
|
|
| - // Pruges the file system local storage.
|
| + // Purges the file system local storage.
|
| base::PlatformFileError DeleteFileSystem();
|
|
|
| + // Retrieves the quota and usage.
|
| + quota::QuotaStatusCode GetUsageAndQuota(int64* usage, int64* quota);
|
| +
|
| // Returns new FileSystemOperation.
|
| FileSystemOperation* NewOperation();
|
|
|
| @@ -126,6 +130,9 @@ class CannedSyncableFileSystem {
|
| const FileSystemURL& url,
|
| const GURL& blob_url,
|
| const WriteCallback& callback);
|
| + void DoGetUsageAndQuota(int64* usage,
|
| + int64* quota,
|
| + const quota::StatusCallback& callback);
|
|
|
| // Callbacks.
|
| void DidOpenFileSystem(base::PlatformFileError result,
|
|
|