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

Unified Diff: extensions/renderer/resources/data_receiver.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 | « content/browser/resources/media/webrtc_internals.js ('k') | extensions/renderer/resources/data_sender.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/resources/data_receiver.js
diff --git a/extensions/renderer/resources/data_receiver.js b/extensions/renderer/resources/data_receiver.js
index 8df9d25b5916072093456ca5b40bb889c77e9ba3..a248ffbf4be0dfc311fde9eb29a6d56fab5f524f 100644
--- a/extensions/renderer/resources/data_receiver.js
+++ b/extensions/renderer/resources/data_receiver.js
@@ -22,7 +22,7 @@ define('data_receiver', [
/**
* The promise that will be resolved or rejected when this receive completes
* or fails, respectively.
- * @type {!Promise.<ArrayBuffer>}
+ * @type {!Promise<ArrayBuffer>}
* @private
*/
this.promise_ = new Promise(function(resolve, reject) {
@@ -44,7 +44,7 @@ define('data_receiver', [
/**
* Returns the promise that will be resolved when this operation completes or
* rejected if an error occurs.
- * @return {Promise.<ArrayBuffer>} A promise to the data received.
+ * @return {Promise<ArrayBuffer>} A promise to the data received.
*/
PendingReceive.prototype.getPromise = function() {
return this.promise_;
@@ -126,7 +126,7 @@ define('data_receiver', [
* @param {number} bytesReceived The number of bytes already received.
* @param {PendingReceiveError} pendingError The pending error if there is
* one.
- * @param {!Array.<!ArrayBuffer>} pendingData Data received from the
+ * @param {!Array<!ArrayBuffer>} pendingData Data received from the
* DataSource not yet requested by the client.
* @param {boolean} paused Whether the DataSource is paused.
* @private
@@ -195,7 +195,7 @@ define('data_receiver', [
/**
* Serializes this DataReceiver.
* This will cancel a receive if one is in progress.
- * @return {!Promise.<SerializedDataReceiver>} A promise that will resolve to
+ * @return {!Promise<SerializedDataReceiver>} A promise that will resolve to
* the serialization of this DataReceiver. If this DataReceiver has shut
* down, the promise will resolve to null.
*/
@@ -259,7 +259,7 @@ define('data_receiver', [
/**
* Receive data from the DataSource.
- * @return {Promise.<ArrayBuffer>} A promise to the received data. If an error
+ * @return {Promise<ArrayBuffer>} A promise to the received data. If an error
* occurs, the promise will reject with an Error object with a property
* error containing the error code.
* @throws Will throw if this has encountered a fatal error or another receive
« no previous file with comments | « content/browser/resources/media/webrtc_internals.js ('k') | extensions/renderer/resources/data_sender.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698