Index: chrome/browser/chromeos/extensions/file_browser_private_api.h |
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.h b/chrome/browser/chromeos/extensions/file_browser_private_api.h |
index a5d463ecc977e7ce1958579e46775040a187584c..2ade0c3a200bd83ba8a163749cb271d0d14a81e6 100644 |
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.h |
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.h |
@@ -367,4 +367,22 @@ class FileDialogStringsFunction : public SyncExtensionFunction { |
DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getStrings"); |
}; |
+// Retrieve property information for multiple files, returning a list of the |
+// same length as the input list of file URLs. If a particular file has an |
+// error, then return a dictionary with the key "error" set to the error number |
+// (base::PlatformFileError) for that entry in the returned list. |
+class GetGDataFilePropertiesFunction |
+ : public FileBrowserFunction { |
+ public: |
+ GetGDataFilePropertiesFunction(); |
+ |
+ protected: |
+ virtual ~GetGDataFilePropertiesFunction(); |
+ |
+ // AsyncExtensionFunction overrides. |
+ virtual bool RunImpl() OVERRIDE; |
+ |
+ private: |
+ DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getGDataFileProperties"); |
+}; |
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ |