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

Unified Diff: mojo/public/js/interface_types.js

Issue 2843183002: Add ResetWithReason for AssociatedInterfaceRequest. (Closed)
Patch Set: Rebase against master. Reupload patch. Created 3 years, 8 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 | « no previous file | third_party/WebKit/LayoutTests/mojo/associated_interface_ptr.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/js/interface_types.js
diff --git a/mojo/public/js/interface_types.js b/mojo/public/js/interface_types.js
index e3c06559792edcb2c2037cb2afaa73416688937b..03ba2ba4e9374e671dd44446a4ee5a5151ab6d3e 100644
--- a/mojo/public/js/interface_types.js
+++ b/mojo/public/js/interface_types.js
@@ -66,6 +66,10 @@ define("mojo/public/js/interface_types", [
return this.interfaceEndpointHandle.isValid();
};
+ AssociatedInterfaceRequest.prototype.resetWithReason = function(reason) {
+ this.interfaceEndpointHandle.reset(reason);
+ };
+
function isMasterInterfaceId(interfaceId) {
return interfaceId === kMasterInterfaceId;
}
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/mojo/associated_interface_ptr.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698