| Index: chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h
|
| diff --git a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h
|
| index d5c664ce368eae9f9864624c8cf5fb133d7f10b7..7df14b3fc96d49a0a7b79d477e9e6bdb202934e0 100644
|
| --- a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h
|
| +++ b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h
|
| @@ -37,6 +37,21 @@ class SyncFileSystemRequestFileSystemFunction
|
| const GURL& root_url);
|
| };
|
|
|
| +class SyncFileSystemGetUsageAndQuotaFunction
|
| + : public AsyncExtensionFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION_NAME("syncFileSystem.getUsageAndQuota");
|
| +
|
| + protected:
|
| + virtual ~SyncFileSystemGetUsageAndQuotaFunction() {}
|
| + virtual bool RunImpl() OVERRIDE;
|
| +
|
| + private:
|
| + void DidGetUsageAndQuota(quota::QuotaStatusCode status,
|
| + int64 usage,
|
| + int64 quota);
|
| +};
|
| +
|
| } // namespace extensions
|
|
|
| #endif // CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H_
|
|
|