Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / extensions / file_system_provider / file_system_provider_api.h
index c4c94fd..96a444e 100644 (file)
@@ -42,18 +42,6 @@ class FileSystemProviderInternalUnmountRequestedSuccessFunction
   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:
@@ -66,18 +54,6 @@ class FileSystemProviderInternalGetMetadataRequestedSuccessFunction
   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:
@@ -90,87 +66,39 @@ class FileSystemProviderInternalReadDirectoryRequestedSuccessFunction
   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:
-  DECLARE_EXTENSION_FUNCTION(
-      "fileSystemProviderInternal.openFileRequestedSuccess",
-      FILESYSTEMPROVIDERINTERNAL_OPENFILEREQUESTEDSUCCESS)
-
- protected:
-  virtual ~FileSystemProviderInternalOpenFileRequestedSuccessFunction() {}
-  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:
-  DECLARE_EXTENSION_FUNCTION(
-      "fileSystemProviderInternal.closeFileRequestedSuccess",
-      FILESYSTEMPROVIDERINTERNAL_CLOSEFILEREQUESTEDSUCCESS)
-
- protected:
-  virtual ~FileSystemProviderInternalCloseFileRequestedSuccessFunction() {}
-  virtual bool RunWhenValid() OVERRIDE;
-};
-
-class FileSystemProviderInternalCloseFileRequestedErrorFunction
+class FileSystemProviderInternalReadFileRequestedSuccessFunction
     : public FileSystemProviderInternalFunction {
  public:
   DECLARE_EXTENSION_FUNCTION(
-      "fileSystemProviderInternal.closeFileRequestedError",
-      FILESYSTEMPROVIDERINTERNAL_CLOSEFILEREQUESTEDERROR)
+      "fileSystemProviderInternal.readFileRequestedSuccess",
+      FILESYSTEMPROVIDERINTERNAL_READFILEREQUESTEDSUCCESS)
 
  protected:
-  virtual ~FileSystemProviderInternalCloseFileRequestedErrorFunction() {}
+  virtual ~FileSystemProviderInternalReadFileRequestedSuccessFunction() {}
   virtual bool RunWhenValid() OVERRIDE;
 };
 
-class FileSystemProviderInternalReadFileRequestedSuccessFunction
+class FileSystemProviderInternalOperationRequestedSuccessFunction
     : public FileSystemProviderInternalFunction {
  public:
   DECLARE_EXTENSION_FUNCTION(
-      "fileSystemProviderInternal.readFileRequestedSuccess",
-      FILESYSTEMPROVIDERINTERNAL_READFILEREQUESTEDSUCCESS)
+      "fileSystemProviderInternal.operationRequestedSuccess",
+      FILESYSTEMPROVIDERINTERNAL_OPERATIONREQUESTEDSUCCESS)
 
  protected:
-  virtual ~FileSystemProviderInternalReadFileRequestedSuccessFunction() {}
+  virtual ~FileSystemProviderInternalOperationRequestedSuccessFunction() {}
   virtual bool RunWhenValid() OVERRIDE;
 };
 
-class FileSystemProviderInternalReadFileRequestedErrorFunction
+class FileSystemProviderInternalOperationRequestedErrorFunction
     : public FileSystemProviderInternalFunction {
  public:
   DECLARE_EXTENSION_FUNCTION(
-      "fileSystemProviderInternal.readFileRequestedError",
-      FILESYSTEMPROVIDERINTERNAL_READFILEREQUESTEDERROR)
+      "fileSystemProviderInternal.operationRequestedError",
+      FILESYSTEMPROVIDERINTERNAL_OPERATIONREQUESTEDERROR)
 
  protected:
-  virtual ~FileSystemProviderInternalReadFileRequestedErrorFunction() {}
+  virtual ~FileSystemProviderInternalOperationRequestedErrorFunction() {}
   virtual bool RunWhenValid() OVERRIDE;
 };