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

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

Issue 335753004: [fsp] Cleanup handling errors for operation requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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 | 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: chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
diff --git a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
index c4c94fd6c0568c6e771f29830f720d505e9be957..fa920091cc91227c3ebde15692d636bc31388946 100644
--- a/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
+++ b/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.h
@@ -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,18 +66,6 @@ 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:
@@ -114,18 +78,6 @@ class 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:
@@ -138,18 +90,6 @@ class FileSystemProviderInternalCloseFileRequestedSuccessFunction
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:
@@ -162,15 +102,15 @@ class FileSystemProviderInternalReadFileRequestedSuccessFunction
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;
};
« no previous file with comments | « no previous file | 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