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

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

Issue 12207152: [Cleanup] Files.app: adds '@private' annotations to JSdoc of private methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 0a991656bc2c47e3ca38c5969cc92749bb86cb2c..cb34bec768183888dceab7cf1e3f92c6f858f06e 100644
--- a/chrome/browser/resources/file_manager/js/metadata/function_sequence.js
+++ b/chrome/browser/resources/file_manager/js/metadata/function_sequence.js
@@ -50,6 +50,7 @@ FunctionSequence.prototype.setFailureCallback = function(failureCallback) {
* Error handling function, which traces current error step, stops sequence
* advancing and fires error callback.
*
+ * @private
* @param err error message.
*/
FunctionSequence.prototype.onError_ = function(err) {
@@ -66,6 +67,7 @@ FunctionSequence.prototype.onError_ = function(err) {
* This method should not be used externally. In external
* cases should be used finish function, which is defined in closure and thus
* has access to internal variables of functionsequence.
+ * @private
*/
FunctionSequence.prototype.finish_ = function() {
if (!this.failed_ && this.currentStepIdx_ < this.steps_.length) {
@@ -79,6 +81,7 @@ FunctionSequence.prototype.finish_ = function() {
* This method should not be used externally. In external
* cases should be used nextStep function, which is defined in closure and thus
* has access to internal variables of functionsequence.
+ * @private
*/
FunctionSequence.prototype.nextStep_ = function(var_args) {
if (this.failed_) {
@@ -116,8 +119,8 @@ FunctionSequence.prototype.start = function(var_args) {
/**
* Add Function object mimics to FunctionSequence
+ * @private
*/
FunctionSequence.prototype.apply_ = function(obj, args) {
this.start.apply(this, args);
};
-

Powered by Google App Engine
This is Rietveld 408576698