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

Unified Diff: content/browser/message_port_delegate.h

Issue 861373002: Refactor navigator.connect code to make it more flexible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lower similarity threshold Created 5 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: content/browser/message_port_delegate.h
diff --git a/content/browser/message_port_delegate.h b/content/browser/message_port_delegate.h
index 8f6ad1b06973f46d0744654f4e34c066d578f822..a79144e60a11fae9f4687820d9ba2269aa2e420c 100644
--- a/content/browser/message_port_delegate.h
+++ b/content/browser/message_port_delegate.h
@@ -19,9 +19,10 @@ class MessagePortDelegate {
public:
// Sends a message to the given route. Implementations are responsible for
// updating MessagePortService with new routes for the sent message ports.
- virtual void SendMessage(int route_id,
- const base::string16& message,
- const std::vector<int>& sent_message_port_ids) = 0;
+ virtual void SendMessageToPort(
+ int route_id,
+ const base::string16& message,
+ const std::vector<int>& sent_message_port_ids) = 0;
// Sends a "messages are queued" IPC to the given route.
virtual void SendMessagesAreQueued(int route_id) = 0;

Powered by Google App Engine
This is Rietveld 408576698