Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(444)

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_api.h

Issue 9545006: This adds some GData private API to the file manager (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Review changes and rework Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698