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 065b9e2e10bf808506fff4bc73e9fd5ab3945350..de6d8ef0d2d360dec2758f9cf241a38a1cfb2912 100644 |
--- a/chrome/browser/extensions/extension_file_browser_private_api.h |
+++ b/chrome/browser/extensions/extension_file_browser_private_api.h |
@@ -232,6 +232,21 @@ class UnmountVolumeFunction |
DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.unmountVolume"); |
}; |
+// Formats Device given its mount path. |
+class FormatDeviceFunction |
+ : public SyncExtensionFunction { |
+ 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 { |