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

Unified Diff: chrome/browser/resources/cryptotoken/singlesigner.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox Created 5 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
« no previous file with comments | « chrome/browser/resources/cryptotoken/signer.js ('k') | chrome/browser/resources/cryptotoken/textfetcher.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/cryptotoken/singlesigner.js
diff --git a/chrome/browser/resources/cryptotoken/singlesigner.js b/chrome/browser/resources/cryptotoken/singlesigner.js
index 9bcd065bafc3eb56ed45e94bdc33dfbea95ea3bf..692fd63dfdebfe49ff5bb9f10c669bc27bba0b25 100644
--- a/chrome/browser/resources/cryptotoken/singlesigner.js
+++ b/chrome/browser/resources/cryptotoken/singlesigner.js
@@ -65,14 +65,14 @@ function SingleGnubbySigner(gnubbyId, forEnroll, completeCb, timer,
/** @private {string|undefined} */
this.logMsgUrl_ = opt_logMsgUrl;
- /** @private {!Array.<!SignHelperChallenge>} */
+ /** @private {!Array<!SignHelperChallenge>} */
this.challenges_ = [];
/** @private {number} */
this.challengeIndex_ = 0;
/** @private {boolean} */
this.challengesSet_ = false;
- /** @private {!Object.<string, number>} */
+ /** @private {!Object<string, number>} */
this.cachedError_ = [];
}
@@ -138,7 +138,7 @@ SingleGnubbySigner.prototype.closed_ = function() {
/**
* Begins signing the given challenges.
- * @param {Array.<SignHelperChallenge>} challenges The challenges to sign.
+ * @param {Array<SignHelperChallenge>} challenges The challenges to sign.
* @return {boolean} Whether the challenges were accepted.
*/
SingleGnubbySigner.prototype.doSign = function(challenges) {
« no previous file with comments | « chrome/browser/resources/cryptotoken/signer.js ('k') | chrome/browser/resources/cryptotoken/textfetcher.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698