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

Unified Diff: mojo/edk/system/ports/node_delegate.h

Issue 1975073002: [mojo-edk] Broadcast surprise port disruptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@reenable-clean-shutdown
Patch Set: . Created 4 years, 6 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 | « mojo/edk/system/ports/node.cc ('k') | mojo/edk/system/ports/ports_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ports/node_delegate.h
diff --git a/mojo/edk/system/ports/node_delegate.h b/mojo/edk/system/ports/node_delegate.h
index 7e15e7ea75e0cd196f0f9eeda6920caebd6c5f12..8547302a5e826e78fe16f3a272672d4b2b9406a0 100644
--- a/mojo/edk/system/ports/node_delegate.h
+++ b/mojo/edk/system/ports/node_delegate.h
@@ -32,6 +32,9 @@ class NodeDelegate {
// NOT synchronously call any methods on Node.
virtual void ForwardMessage(const NodeName& node, ScopedMessage message) = 0;
+ // Broadcast a message to all nodes.
+ virtual void BroadcastMessage(ScopedMessage message) = 0;
+
// Indicates that the port's status has changed recently. Use Node::GetStatus
// to query the latest status of the port. Note, this event could be spurious
// if another thread is simultaneously modifying the status of the port.
« no previous file with comments | « mojo/edk/system/ports/node.cc ('k') | mojo/edk/system/ports/ports_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698