Chromium Code Reviews| Index: chrome/browser/extensions/extension_file_browser_private_api.h |
| diff --git a/chrome/browser/extensions/extension_file_browser_private_api.h b/chrome/browser/extensions/extension_file_browser_private_api.h |
| index cec9f70f6657f3580be6bca0a0aa907577638e28..7321440f4cdf48bbd47cb5ee028dd1e2dff1da15 100644 |
| --- a/chrome/browser/extensions/extension_file_browser_private_api.h |
| +++ b/chrome/browser/extensions/extension_file_browser_private_api.h |
| @@ -274,6 +274,21 @@ class GetMountPointsFunction |
| DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getMountPoints"); |
| }; |
| +// Formats Device given its mount path. |
| +class FormatDeviceFunction |
| + : public SyncExtensionFunction { |
|
asargent_no_longer_on_chrome
2011/07/29 23:14:19
Note that if you wanted to have a callback, and wa
sidor.dev
2011/07/29 23:28:27
Formatting is quite separated from UI, so callback
|
| + public: |
| + FormatDeviceFunction(); |
| + |
| + protected: |
| + virtual ~FormatDeviceFunction(); |
| + |
| + virtual bool RunImpl() OVERRIDE; |
| + |
| + private: |
| + DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.formatDevice"); |
| +}; |
| + |
| // Retrieves devices meta-data. Expects volume's device path as an argument. |
| class GetVolumeMetadataFunction |
| : public SyncExtensionFunction { |