| Index: trunk/src/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
|
| ===================================================================
|
| --- trunk/src/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h (revision 278185)
|
| +++ trunk/src/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h (working copy)
|
| @@ -42,6 +42,18 @@
|
| virtual bool RunWhenValid() OVERRIDE;
|
| };
|
|
|
| +class FileSystemProviderInternalUnmountRequestedErrorFunction
|
| + : public FileSystemProviderInternalFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION(
|
| + "fileSystemProviderInternal.unmountRequestedError",
|
| + FILESYSTEMPROVIDERINTERNAL_GETMETADATAREQUESTEDERROR)
|
| +
|
| + protected:
|
| + virtual ~FileSystemProviderInternalUnmountRequestedErrorFunction() {}
|
| + virtual bool RunWhenValid() OVERRIDE;
|
| +};
|
| +
|
| class FileSystemProviderInternalGetMetadataRequestedSuccessFunction
|
| : public FileSystemProviderInternalFunction {
|
| public:
|
| @@ -54,6 +66,18 @@
|
| virtual bool RunWhenValid() OVERRIDE;
|
| };
|
|
|
| +class FileSystemProviderInternalGetMetadataRequestedErrorFunction
|
| + : public FileSystemProviderInternalFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION(
|
| + "fileSystemProviderInternal.getMetadataRequestedError",
|
| + FILESYSTEMPROVIDERINTERNAL_GETMETADATAREQUESTEDERROR)
|
| +
|
| + protected:
|
| + virtual ~FileSystemProviderInternalGetMetadataRequestedErrorFunction() {}
|
| + virtual bool RunWhenValid() OVERRIDE;
|
| +};
|
| +
|
| class FileSystemProviderInternalReadDirectoryRequestedSuccessFunction
|
| : public FileSystemProviderInternalFunction {
|
| public:
|
| @@ -66,6 +90,18 @@
|
| virtual bool RunWhenValid() OVERRIDE;
|
| };
|
|
|
| +class FileSystemProviderInternalReadDirectoryRequestedErrorFunction
|
| + : public FileSystemProviderInternalFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION(
|
| + "fileSystemProviderInternal.readDirectoryRequestedError",
|
| + FILESYSTEMPROVIDERINTERNAL_READDIRECTORYREQUESTEDERROR)
|
| +
|
| + protected:
|
| + virtual ~FileSystemProviderInternalReadDirectoryRequestedErrorFunction() {}
|
| + virtual bool RunWhenValid() OVERRIDE;
|
| +};
|
| +
|
| class FileSystemProviderInternalOpenFileRequestedSuccessFunction
|
| : public FileSystemProviderInternalFunction {
|
| public:
|
| @@ -78,6 +114,18 @@
|
| virtual bool RunWhenValid() OVERRIDE;
|
| };
|
|
|
| +class FileSystemProviderInternalOpenFileRequestedErrorFunction
|
| + : public FileSystemProviderInternalFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION(
|
| + "fileSystemProviderInternal.openFileRequestedError",
|
| + FILESYSTEMPROVIDERINTERNAL_OPENFILEREQUESTEDERROR)
|
| +
|
| + protected:
|
| + virtual ~FileSystemProviderInternalOpenFileRequestedErrorFunction() {}
|
| + virtual bool RunWhenValid() OVERRIDE;
|
| +};
|
| +
|
| class FileSystemProviderInternalCloseFileRequestedSuccessFunction
|
| : public FileSystemProviderInternalFunction {
|
| public:
|
| @@ -90,6 +138,18 @@
|
| virtual bool RunWhenValid() OVERRIDE;
|
| };
|
|
|
| +class FileSystemProviderInternalCloseFileRequestedErrorFunction
|
| + : public FileSystemProviderInternalFunction {
|
| + public:
|
| + DECLARE_EXTENSION_FUNCTION(
|
| + "fileSystemProviderInternal.closeFileRequestedError",
|
| + FILESYSTEMPROVIDERINTERNAL_CLOSEFILEREQUESTEDERROR)
|
| +
|
| + protected:
|
| + virtual ~FileSystemProviderInternalCloseFileRequestedErrorFunction() {}
|
| + virtual bool RunWhenValid() OVERRIDE;
|
| +};
|
| +
|
| class FileSystemProviderInternalReadFileRequestedSuccessFunction
|
| : public FileSystemProviderInternalFunction {
|
| public:
|
| @@ -102,15 +162,15 @@
|
| virtual bool RunWhenValid() OVERRIDE;
|
| };
|
|
|
| -class FileSystemProviderInternalOperationRequestedErrorFunction
|
| +class FileSystemProviderInternalReadFileRequestedErrorFunction
|
| : public FileSystemProviderInternalFunction {
|
| public:
|
| DECLARE_EXTENSION_FUNCTION(
|
| - "fileSystemProviderInternal.operationRequestedError",
|
| - FILESYSTEMPROVIDERINTERNAL_OPERATIONREQUESTEDERROR)
|
| + "fileSystemProviderInternal.readFileRequestedError",
|
| + FILESYSTEMPROVIDERINTERNAL_READFILEREQUESTEDERROR)
|
|
|
| protected:
|
| - virtual ~FileSystemProviderInternalOperationRequestedErrorFunction() {}
|
| + virtual ~FileSystemProviderInternalReadFileRequestedErrorFunction() {}
|
| virtual bool RunWhenValid() OVERRIDE;
|
| };
|
|
|
|
|