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

Unified Diff: content/public/browser/message_port_delegate.h

Issue 1110103003: Initial implementation of stashed message ports, content side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 years, 7 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: content/public/browser/message_port_delegate.h
diff --git a/content/public/browser/message_port_delegate.h b/content/public/browser/message_port_delegate.h
index 7c2de5bbde639534b86580c13f5e01eb696a6a1a..c1b181333d09b258166b2997ad77fdc14d034a74 100644
--- a/content/public/browser/message_port_delegate.h
+++ b/content/public/browser/message_port_delegate.h
@@ -32,6 +32,11 @@ class CONTENT_EXPORT MessagePortDelegate {
const MessagePortMessage& message,
const std::vector<TransferredMessagePort>& sent_message_ports) = 0;
+ // Called when MessagePortService tried to send a message to a port, but
+ // instead added it to its queue because the port is currently configured to
+ // hold all its messages.
+ virtual void MessageWasHeld(int route_id){};
falken 2015/05/15 06:08:02 should have a space before {}?
Marijn Kruisselbrink 2015/05/18 22:19:36 Ah yes, seems to be a bug in git cl format/clang-f
+
// Requests messages to the given route to be queued.
virtual void SendMessagesAreQueued(int route_id) = 0;

Powered by Google App Engine
This is Rietveld 408576698