Lines Matching refs:onSuccess
35 function onUnmountRequested(options, onSuccess, onError) {
46 onSuccess();
53 function onGetMetadataRequested(options, onSuccess, onError) {
60 onSuccess(entryMetadata);
64 function onReadDirectoryRequested(options, onSuccess, onError) {
92 onSuccess(entries, false /* Last call. */);
96 function onOpenFileRequested(options, onSuccess, onError) {
103 onSuccess();
108 function onCloseFileRequested(options, onSuccess, onError) {
114 onSuccess();
119 function onReadFileRequested(options, onSuccess, onError) {
137 onSuccess(buffer, false /* Last call. */);
155 function restoreState(fileSystemId, onSuccess, onError) {
159 onSuccess();
170 onSuccess();
176 // Reads metadata from a file and returns it with the onSuccess callback.
177 function readMetadataFromFile(entry, onSuccess, onError) {
181 onSuccess(JSON.parse(event.target.result));