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

Unified Diff: extensions/renderer/resources/data_sender.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 | « extensions/renderer/resources/data_receiver.js ('k') | extensions/renderer/resources/platform_app.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/resources/data_sender.js
diff --git a/extensions/renderer/resources/data_sender.js b/extensions/renderer/resources/data_sender.js
index 0fe084ffe0307fb32820dac443a342672f868ff4..5fa8708ba3338f53dffc6cc55c9b506a153addc8 100644
--- a/extensions/renderer/resources/data_sender.js
+++ b/extensions/renderer/resources/data_sender.js
@@ -35,7 +35,7 @@ define('data_sender', [
/**
* The promise that will be resolved or rejected when this send completes
* or fails, respectively.
- * @type {!Promise.<number>}
+ * @type {!Promise<number>}
* @private
*/
this.promise_ = new Promise(function(resolve, reject) {
@@ -57,7 +57,7 @@ define('data_sender', [
/**
* Returns the promise that will be resolved when this operation completes or
* rejected if an error occurs.
- * @return {!Promise.<number>} A promise to the number of bytes sent.
+ * @return {!Promise<number>} A promise to the number of bytes sent.
*/
PendingSend.prototype.getPromise = function() {
return this.promise_;
@@ -188,7 +188,7 @@ define('data_sender', [
* Serializes this DataSender.
* This will cancel any sends in progress before the returned promise
* resolves.
- * @return {!Promise.<SerializedDataSender>} A promise that will resolve to
+ * @return {!Promise<SerializedDataSender>} A promise that will resolve to
* the serialization of this DataSender. If this DataSender has shut down,
* the promise will resolve to null.
*/
@@ -241,7 +241,7 @@ define('data_sender', [
/**
* Sends data to the DataSink.
- * @return {!Promise.<number>} A promise to the number of bytes sent. If an
+ * @return {!Promise<number>} A promise to the number of bytes sent. 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 a cancel is in
« no previous file with comments | « extensions/renderer/resources/data_receiver.js ('k') | extensions/renderer/resources/platform_app.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698