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

Unified Diff: chrome/browser/resources/cryptotoken/util.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/util.js
diff --git a/chrome/browser/resources/cryptotoken/util.js b/chrome/browser/resources/cryptotoken/util.js
index b7c968baca2b2096465ce71b59c709374e956693..9c2cb7a39a46ea09224505e9f67c5d28a407f9f8 100644
--- a/chrome/browser/resources/cryptotoken/util.js
+++ b/chrome/browser/resources/cryptotoken/util.js
@@ -21,7 +21,7 @@ function UTIL_StringToBytes(s, bytes) {
/**
* Converts a byte array to a string.
- * @param {(Uint8Array|Array.<number>)} b input byte array.
+ * @param {(Uint8Array|Array<number>)} b input byte array.
* @return {string} result.
*/
function UTIL_BytesToString(b) {
@@ -30,7 +30,7 @@ function UTIL_BytesToString(b) {
/**
* Converts a byte array to a hex string.
- * @param {(Uint8Array|Array.<number>)} b input byte array.
+ * @param {(Uint8Array|Array<number>)} b input byte array.
* @return {string} result.
*/
function UTIL_BytesToHex(b) {
@@ -165,8 +165,8 @@ var UTIL_ASN_SEQUENCE = 0x30;
/**
* Parse SEQ(INT, INT) from ASN1 byte array.
- * @param {(Uint8Array|Array.<number>)} a input to parse from.
- * @return {{'r': !Array.<number>, 's': !Array.<number>}|null}
+ * @param {(Uint8Array|Array<number>)} a input to parse from.
+ * @return {{'r': !Array<number>, 's': !Array<number>}|null}
*/
function UTIL_Asn1SignatureToJson(a) {
if (a.length < 6) return null; // Too small to be valid
@@ -194,7 +194,7 @@ function UTIL_Asn1SignatureToJson(a) {
/**
* Encode a JSON signature {r,s} as an ASN1 SEQ(INT, INT). May modify sig
- * @param {{'r': (!Array.<number>|undefined), 's': !Array.<number>}} sig
+ * @param {{'r': (!Array<number>|undefined), 's': !Array<number>}} sig
* @return {!Uint8Array}
*/
function UTIL_JsonSignatureToAsn1(sig) {
« no previous file with comments | « chrome/browser/resources/cryptotoken/usbsignhandler.js ('k') | chrome/browser/resources/cryptotoken/webrequest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698