Chromium Code Reviews| Index: chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h |
| diff --git a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h |
| index af65f69fa13a50f4c3debff3d3044ee3ef6cba05..9f2d8cae79022a559b27d1129c8ded144276f901 100644 |
| --- a/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h |
| +++ b/chrome/browser/chromeos/extensions/file_manager/private_api_file_system.h |
| @@ -336,6 +336,22 @@ class FileManagerPrivateInternalSetEntryTagFunction |
| DISALLOW_COPY_AND_ASSIGN(FileManagerPrivateInternalSetEntryTagFunction); |
| }; |
| +// Implements the chrome.fileManagerPrivate.getDirectorySize mothod. |
|
mtomasz
2016/09/01 07:49:49
typo: method
harukam
2016/09/02 01:33:32
Sorry, thanks.
|
| +class FileManagerPrivateInternalGetDirectorySizeFunction |
| + : public LoggedAsyncExtensionFunction { |
| + public: |
| + DECLARE_EXTENSION_FUNCTION("fileManagerPrivateInternal.getDirectorySize", |
| + FILEMANAGERPRIVATEINTERNAL_GETDIRECTORYSIZE) |
| + |
| + protected: |
| + ~FileManagerPrivateInternalGetDirectorySizeFunction() override {} |
| + |
| + void OnDirectorySizeRetrieved(int64_t size); |
| + |
| + // AsyncExtensionFunction overrides |
| + bool RunAsync() override; |
| +}; |
| + |
| } // namespace extensions |
| #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_FILE_SYSTEM_H_ |