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

Unified Diff: chrome/browser/resources/print_preview/data/destination_store.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/print_preview/data/destination_store.js
diff --git a/chrome/browser/resources/print_preview/data/destination_store.js b/chrome/browser/resources/print_preview/data/destination_store.js
index 267cb8b65164222b1e447040b5809146b93d338d..ef1c4e3390f41fbe3336de804024b38903596214 100644
--- a/chrome/browser/resources/print_preview/data/destination_store.js
+++ b/chrome/browser/resources/print_preview/data/destination_store.js
@@ -48,14 +48,14 @@ cr.define('print_preview', function() {
/**
* Internal backing store for the data store.
- * @type {!Array.<!print_preview.Destination>}
+ * @type {!Array<!print_preview.Destination>}
* @private
*/
this.destinations_ = [];
/**
* Cache used for constant lookup of destinations by origin and id.
- * @type {Object.<string, !print_preview.Destination>}
+ * @type {Object<string, !print_preview.Destination>}
* @private
*/
this.destinationMap_ = {};
@@ -100,7 +100,7 @@ cr.define('print_preview', function() {
/**
* Maps user account to the list of origins for which destinations are
* already loaded.
- * @type {!Object.<string, Array.<print_preview.Destination.Origin>>}
+ * @type {!Object<string, Array<print_preview.Destination.Origin>>}
* @private
*/
this.loadedCloudOrigins_ = {};
@@ -267,7 +267,7 @@ cr.define('print_preview', function() {
/**
* @param {string=} opt_account Account to filter destinations by. When
* omitted, all destinations are returned.
- * @return {!Array.<!print_preview.Destination>} List of destinations
+ * @return {!Array<!print_preview.Destination>} List of destinations
* accessible by the {@code account}.
*/
destinations: function(opt_account) {
@@ -629,7 +629,7 @@ cr.define('print_preview', function() {
/**
* Inserts multiple {@code destinations} to the data store and dispatches
* single DESTINATIONS_INSERTED event.
- * @param {!Array.<print_preview.Destination>} destinations Print
+ * @param {!Array<print_preview.Destination>} destinations Print
* destinations to insert.
* @private
*/

Powered by Google App Engine
This is Rietveld 408576698