Lines Matching refs:success

148 DriveFile.prototype.save = function(revision, success, error, unloading, overwrite)  argument
152 this.saveFile(null, revision, success, error, unloading, overwrite);
162 DriveFile.prototype.saveFile = function(title, revision, success, error, unloading, overwrite) argument
168 if (success != null)
170 success();
220 if (success != null)
222 success(resp);
226 else if (success != null)
228 success(resp);
342 DriveFile.prototype.copyFile = function(success, error) argument
352 this.save(true, success, error)
370 DriveFile.prototype.makeCopy = function(success, error, timestamp) argument
388 success();
407 DriveFile.prototype.saveAs = function(filename, success, error) argument
409 this.ui.drive.copyFile(this.getId(), filename, success, error);
418 DriveFile.prototype.rename = function(title, success, error) argument
433 this.save(true, success, error);
445 if (success != null)
447 success(desc);
459 DriveFile.prototype.move = function(folderId, success, error) argument
466 if (success != null)
468 success(resp);
548 DriveFile.prototype.getRevisions = function(success, error) argument
581 success(resp.items);
588 DriveFile.prototype.getLatestVersion = function(success, error) argument
590 this.ui.drive.getFile(this.getId(), success, error, true);
683 DriveFile.prototype.loadPatchDescriptor = function(success, error) argument
691 success(desc);
709 DriveFile.prototype.loadDescriptor = function(success, error) argument
711 this.ui.drive.loadDescriptor(this.getId(), success, error);
725 DriveFile.prototype.getComments = function(success, error) argument
762 success(comments);
769 DriveFile.prototype.addComment = function(comment, success, error) argument
781 success(resp.commentId); //pass comment id