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

Unified Diff: chrome/browser/resources/file_manager/js/metadata/function_sequence.js

Issue 12212185: [Cleanup] Files.app: Fill 'TODO' comments to missing descriptions in @param annotation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: chrome/browser/resources/file_manager/js/metadata/function_sequence.js
diff --git a/chrome/browser/resources/file_manager/js/metadata/function_sequence.js b/chrome/browser/resources/file_manager/js/metadata/function_sequence.js
index e21fa4ecf90437c8dd9f0a870ddad719e951a857..b0f44793a362d38912ac1fa043002e2b05da366a 100644
--- a/chrome/browser/resources/file_manager/js/metadata/function_sequence.js
+++ b/chrome/browser/resources/file_manager/js/metadata/function_sequence.js
@@ -6,6 +6,7 @@
* @constructor
* @class FunctionSequence to invoke steps in sequence
*
+ * @param {string} name //TODO(JSDOC).
* @param {Array} steps array of functions to invoke in sequence.
* @param {Object} logger logger.
* @param {Function} callback callback to invoke on success.
@@ -82,6 +83,7 @@ FunctionSequence.prototype.finish_ = function() {
* cases should be used nextStep function, which is defined in closure and thus
* has access to internal variables of functionsequence.
* @private
+ * @param {...} var_args //TODO(JSDOC).
*/
FunctionSequence.prototype.nextStep_ = function(var_args) {
if (this.failed_) {
@@ -105,6 +107,7 @@ FunctionSequence.prototype.nextStep_ = function(var_args) {
/**
* This function should be called only once on start, so start sequence pipeline
+ * @param {...} var_args //TODO(JSDOC).
*/
FunctionSequence.prototype.start = function(var_args) {
if (this.started) {
@@ -120,6 +123,8 @@ FunctionSequence.prototype.start = function(var_args) {
/**
* Add Function object mimics to FunctionSequence
* @private
+ * @param {*} obj //TODO(JSDOC).
+ * @param {Array.*} args /TODO(JSDOC).
*/
FunctionSequence.prototype.apply_ = function(obj, args) {
this.start.apply(this, args);

Powered by Google App Engine
This is Rietveld 408576698