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

Unified Diff: trunk/src/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h

Issue 342003004: Revert 277929 "[fsp] Cleanup handling errors for operation reque..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | trunk/src/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « no previous file | trunk/src/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698