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

Unified Diff: trunk/src/chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js

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
Index: trunk/src/chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js
===================================================================
--- trunk/src/chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js (revision 278185)
+++ trunk/src/chrome/renderer/resources/extensions/file_system_provider_custom_bindings.js (working copy)
@@ -116,7 +116,7 @@
options.fileSystemId, options.requestId);
};
var onErrorCallback = function(error) {
- fileSystemProviderInternal.operationRequestedError(
+ fileSystemProviderInternal.unmountRequestedError(
options.fileSystemId, options.requestId, error);
}
dispatch([options, onSuccessCallback, onErrorCallback]);
@@ -133,7 +133,7 @@
annotateMetadata(metadata));
};
var onErrorCallback = function(error) {
- fileSystemProviderInternal.operationRequestedError(
+ fileSystemProviderInternal.getMetadataRequestedError(
options.fileSystemId, options.requestId, error);
}
dispatch([options, onSuccessCallback, onErrorCallback]);
@@ -149,7 +149,7 @@
options.fileSystemId, options.requestId, annotatedEntries, hasNext);
};
var onErrorCallback = function(error) {
- fileSystemProviderInternal.operationRequestedError(
+ fileSystemProviderInternal.readDirectoryRequestedError(
options.fileSystemId, options.requestId, error);
}
dispatch([options, onSuccessCallback, onErrorCallback]);
@@ -164,7 +164,7 @@
options.fileSystemId, options.requestId);
};
var onErrorCallback = function(error) {
- fileSystemProviderInternal.operationRequestedError(
+ fileSystemProviderInternal.openFileRequestedError(
options.fileSystemId, options.requestId, error);
}
dispatch([options, onSuccessCallback, onErrorCallback]);
@@ -179,7 +179,7 @@
options.fileSystemId, options.requestId);
};
var onErrorCallback = function(error) {
- fileSystemProviderInternal.operationRequestedError(
+ fileSystemProviderInternal.closeFileRequestedError(
options.fileSystemId, options.requestId, error);
}
dispatch([options, onSuccessCallback, onErrorCallback]);
@@ -194,7 +194,7 @@
options.fileSystemId, options.requestId, data, hasNext);
};
var onErrorCallback = function(error) {
- fileSystemProviderInternal.operationRequestedError(
+ fileSystemProviderInternal.readFileRequestedError(
options.fileSystemId, options.requestId, error);
}
dispatch([options, onSuccessCallback, onErrorCallback]);

Powered by Google App Engine
This is Rietveld 408576698