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

Unified Diff: chrome/browser/resources/cryptotoken/cryptotokenorigincheck.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
Index: chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js
diff --git a/chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js b/chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js
index dec9532a3821fb9b99f5d9b42a779317c161dac6..3e4ac5e05590866a790f9c370a37bb5eb77d3cb7 100644
--- a/chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js
+++ b/chrome/browser/resources/cryptotoken/cryptotokenorigincheck.js
@@ -22,8 +22,8 @@ function CryptoTokenOriginChecker() {
/**
* Checks whether the origin is allowed to claim the app ids.
* @param {string} origin The origin claiming the app id.
- * @param {!Array.<string>} appIds The app ids being claimed.
- * @return {Promise.<boolean>} A promise for the result of the check.
+ * @param {!Array<string>} appIds The app ids being claimed.
+ * @return {Promise<boolean>} A promise for the result of the check.
*/
CryptoTokenOriginChecker.prototype.canClaimAppIds = function(origin, appIds) {
var appIdChecks = appIds.map(this.checkAppId_.bind(this, origin));
@@ -38,7 +38,7 @@ CryptoTokenOriginChecker.prototype.canClaimAppIds = function(origin, appIds) {
* Checks if a single appId can be asserted by the given origin.
* @param {string} origin The origin.
* @param {string} appId The appId to check
- * @return {Promise.<boolean>} A promise for the result of the check
+ * @return {Promise<boolean>} A promise for the result of the check
* @private
*/
CryptoTokenOriginChecker.prototype.checkAppId_ =
« no previous file with comments | « chrome/browser/resources/cryptotoken/cryptotokenapprovedorigins.js ('k') | chrome/browser/resources/cryptotoken/enroller.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698