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

Unified Diff: extensions/renderer/resources/async_waiter.js

Issue 571333002: Add serialization support to the JS DataSender and DataReceiver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stash-service
Patch Set: clean up jsdoc Created 6 years, 3 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: extensions/renderer/resources/async_waiter.js
diff --git a/extensions/renderer/resources/async_waiter.js b/extensions/renderer/resources/async_waiter.js
index 08410d74c9f1b4241c04d792924c47766acb5439..3dabeff1c6c8da245265590555d98c2d049768cf 100644
--- a/extensions/renderer/resources/async_waiter.js
+++ b/extensions/renderer/resources/async_waiter.js
@@ -16,8 +16,8 @@ define('async_waiter', [
/**
* A waiter that waits for a handle to be ready for either reading or writing.
- * @param {MojoHandle} handle The handle to wait on.
- * @param {int} signals The signals to wait for handle to be ready for.
+ * @param {!MojoHandle} handle The handle to wait on.
+ * @param {number} signals The signals to wait for handle to be ready for.
* @param {module:async_waiter.AsyncWaiter.Callback} callback The callback to
* call when handle is ready.
* @constructor
@@ -26,7 +26,7 @@ define('async_waiter', [
function AsyncWaiter(handle, signals, callback) {
/**
* The handle to wait on.
- * @type {MojoHandle}
+ * @type {!MojoHandle}
* @private
*/
this.handle_ = handle;
@@ -71,7 +71,7 @@ define('async_waiter', [
};
/**
- * Returns whether this {@ linke AsyncWaiter} is waiting.
+ * Returns whether this {@link AsyncWaiter} is waiting.
* @return {boolean} Whether this AsyncWaiter is waiting.
*/
AsyncWaiter.prototype.isWaiting = function() {
« no previous file with comments | « extensions/renderer/api/serial/serial_api_unittest.cc ('k') | extensions/renderer/resources/data_receiver.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698