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

Unified Diff: mojo/public/interfaces/bindings/interface_control_messages.mojom

Issue 2649573004: Mojo bindings: merge the control messages of sending disconnect reason and notifying endpoint close… (Closed)
Patch Set: Created 3 years, 11 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: mojo/public/interfaces/bindings/interface_control_messages.mojom
diff --git a/mojo/public/interfaces/bindings/interface_control_messages.mojom b/mojo/public/interfaces/bindings/interface_control_messages.mojom
index 39d7bde9b0b86ed28cac246d8e999e6d64b0ea02..0a1904206a5610bf58a8a1ecec1a57278cb1732f 100644
--- a/mojo/public/interfaces/bindings/interface_control_messages.mojom
+++ b/mojo/public/interfaces/bindings/interface_control_messages.mojom
@@ -57,7 +57,6 @@ struct RunOrClosePipeMessageParams {
};
union RunOrClosePipeInput {
RequireVersion require_version;
- SendDisconnectReason send_disconnect_reason;
};
// If the specified version of the user-defined interface is not supported, the
@@ -66,11 +65,3 @@ union RunOrClosePipeInput {
struct RequireVersion {
uint32 version;
};
-
-// A user-defined reason about why the interface is disconnected. The sender
-// usually send this message and immediately disconnect the interface.
-// Sent by either side of the interface.
-struct SendDisconnectReason {
- uint32 custom_reason;
- string description;
-};

Powered by Google App Engine
This is Rietveld 408576698