| Index: chrome/browser/chromeos/extensions/file_browser_private_api.h
|
| ===================================================================
|
| --- chrome/browser/chromeos/extensions/file_browser_private_api.h (revision 127341)
|
| +++ chrome/browser/chromeos/extensions/file_browser_private_api.h (working copy)
|
| @@ -481,4 +481,20 @@
|
| DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getGDataFiles");
|
| };
|
|
|
| +// Implements the chrome.fileBrowserPrivate.executeTask method.
|
| +class GetFileTransfersFunction : public AsyncExtensionFunction {
|
| + public:
|
| + GetFileTransfersFunction();
|
| + virtual ~GetFileTransfersFunction();
|
| +
|
| + protected:
|
| + // AsyncExtensionFunction overrides.
|
| + virtual bool RunImpl() OVERRIDE;
|
| +
|
| + private:
|
| + ListValue* GetFileTransfersList();
|
| +
|
| + DECLARE_EXTENSION_FUNCTION_NAME("fileBrowserPrivate.getFileTransfers");
|
| +};
|
| +
|
| #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_
|
|
|