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

Unified Diff: chrome/browser/resources/cryptotoken/gnubbies.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/gnubbies.js
diff --git a/chrome/browser/resources/cryptotoken/gnubbies.js b/chrome/browser/resources/cryptotoken/gnubbies.js
index a1b30301361b631d72a10c8988121bc4a3a216cb..2425cad4c3d41db76b92f30a048c46d8f8c1a543 100644
--- a/chrome/browser/resources/cryptotoken/gnubbies.js
+++ b/chrome/browser/resources/cryptotoken/gnubbies.js
@@ -30,20 +30,20 @@ var GnubbyNamespaceImpl;
* @constructor
*/
function Gnubbies() {
- /** @private {Object.<string, Array>} */
+ /** @private {Object<string, Array>} */
this.devs_ = {};
this.pendingEnumerate = []; // clients awaiting an enumerate
/**
* The distinct namespaces registered in this Gnubbies instance, in order of
* registration.
- * @private {Array.<string>}
+ * @private {Array<string>}
*/
this.namespaces_ = [];
- /** @private {Object.<string, GnubbyNamespaceImpl>} */
+ /** @private {Object<string, GnubbyNamespaceImpl>} */
this.impl_ = {};
- /** @private {Object.<string, Object.<number, !GnubbyDevice>>} */
+ /** @private {Object<string, Object<number, !GnubbyDevice>>} */
this.openDevs_ = {};
- /** @private {Object.<string, Object.<number, *>>} */
+ /** @private {Object<string, Object<number, *>>} */
this.pendingOpens_ = {}; // clients awaiting an open
}
@@ -97,7 +97,7 @@ Gnubbies.prototype.closeAll = function() {
};
/**
- * @param {function(number, Array.<GnubbyDeviceId>)} cb Called back with the
+ * @param {function(number, Array<GnubbyDeviceId>)} cb Called back with the
* result of enumerating.
*/
Gnubbies.prototype.enumerate = function(cb) {
@@ -126,7 +126,7 @@ Gnubbies.prototype.enumerate = function(cb) {
/**
* @param {string} namespace The namespace that was enumerated.
- * @param {Array.<GnubbyDeviceId>} existingDeviceIds Previously enumerated
+ * @param {Array<GnubbyDeviceId>} existingDeviceIds Previously enumerated
* device IDs (from other namespaces), if any.
* @param {Array} devs The devices in the namespace.
*/
« no previous file with comments | « chrome/browser/resources/cryptotoken/generichelper.js ('k') | chrome/browser/resources/cryptotoken/gnubby.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698