Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / extensions / file_system_provider / file_system_provider_api.h
index 3085ecc..5f5c8ad 100644 (file)
@@ -17,7 +17,7 @@ class FileSystemProviderMountFunction : public ChromeSyncExtensionFunction {
 
  protected:
   virtual ~FileSystemProviderMountFunction() {}
-  virtual bool RunSync() OVERRIDE;
+  virtual bool RunSync() override;
 };
 
 class FileSystemProviderUnmountFunction : public ChromeSyncExtensionFunction {
@@ -27,7 +27,7 @@ class FileSystemProviderUnmountFunction : public ChromeSyncExtensionFunction {
 
  protected:
   virtual ~FileSystemProviderUnmountFunction() {}
-  virtual bool RunSync() OVERRIDE;
+  virtual bool RunSync() override;
 };
 
 class FileSystemProviderGetAllFunction : public ChromeSyncExtensionFunction {
@@ -37,7 +37,17 @@ class FileSystemProviderGetAllFunction : public ChromeSyncExtensionFunction {
 
  protected:
   virtual ~FileSystemProviderGetAllFunction() {}
-  virtual bool RunSync() OVERRIDE;
+  virtual bool RunSync() override;
+};
+
+class FileSystemProviderNotifyFunction : public ChromeSyncExtensionFunction {
+ public:
+  DECLARE_EXTENSION_FUNCTION("fileSystemProvider.notify",
+                             FILESYSTEMPROVIDER_NOTIFY)
+
+ protected:
+  virtual ~FileSystemProviderNotifyFunction() {}
+  virtual bool RunSync() override;
 };
 
 class FileSystemProviderInternalUnmountRequestedSuccessFunction
@@ -49,7 +59,7 @@ class FileSystemProviderInternalUnmountRequestedSuccessFunction
 
  protected:
   virtual ~FileSystemProviderInternalUnmountRequestedSuccessFunction() {}
-  virtual bool RunWhenValid() OVERRIDE;
+  virtual bool RunWhenValid() override;
 };
 
 class FileSystemProviderInternalGetMetadataRequestedSuccessFunction
@@ -61,7 +71,7 @@ class FileSystemProviderInternalGetMetadataRequestedSuccessFunction
 
  protected:
   virtual ~FileSystemProviderInternalGetMetadataRequestedSuccessFunction() {}
-  virtual bool RunWhenValid() OVERRIDE;
+  virtual bool RunWhenValid() override;
 };
 
 class FileSystemProviderInternalReadDirectoryRequestedSuccessFunction
@@ -73,7 +83,7 @@ class FileSystemProviderInternalReadDirectoryRequestedSuccessFunction
 
  protected:
   virtual ~FileSystemProviderInternalReadDirectoryRequestedSuccessFunction() {}
-  virtual bool RunWhenValid() OVERRIDE;
+  virtual bool RunWhenValid() override;
 };
 
 class FileSystemProviderInternalReadFileRequestedSuccessFunction
@@ -85,7 +95,7 @@ class FileSystemProviderInternalReadFileRequestedSuccessFunction
 
  protected:
   virtual ~FileSystemProviderInternalReadFileRequestedSuccessFunction() {}
-  virtual bool RunWhenValid() OVERRIDE;
+  virtual bool RunWhenValid() override;
 };
 
 class FileSystemProviderInternalOperationRequestedSuccessFunction
@@ -97,7 +107,7 @@ class FileSystemProviderInternalOperationRequestedSuccessFunction
 
  protected:
   virtual ~FileSystemProviderInternalOperationRequestedSuccessFunction() {}
-  virtual bool RunWhenValid() OVERRIDE;
+  virtual bool RunWhenValid() override;
 };
 
 class FileSystemProviderInternalOperationRequestedErrorFunction
@@ -109,7 +119,7 @@ class FileSystemProviderInternalOperationRequestedErrorFunction
 
  protected:
   virtual ~FileSystemProviderInternalOperationRequestedErrorFunction() {}
-  virtual bool RunWhenValid() OVERRIDE;
+  virtual bool RunWhenValid() override;
 };
 
 }  // namespace extensions