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

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

Issue 1974613002: Remove code that was only used by navigator.connect. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 4 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
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/message_port_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..4364ba7af9a16fd86bf22340f8fcb15f13279ad3 100644
--- a/content/public/browser/message_port_delegate.h
+++ b/content/public/browser/message_port_delegate.h
@@ -16,8 +16,6 @@
#endif
namespace content {
-struct MessagePortMessage;
-struct TransferredMessagePort;
// Delegate used by MessagePortService to send messages to message ports to the
// correct renderer. Delegates are responsible for managing their own lifetime,
@@ -29,8 +27,8 @@ class CONTENT_EXPORT MessagePortDelegate {
// updating MessagePortService with new routes for the sent message ports.
virtual void SendMessage(
int route_id,
- const MessagePortMessage& message,
- const std::vector<TransferredMessagePort>& sent_message_ports) = 0;
+ const base::string16& message,
+ const std::vector<int>& sent_message_ports) = 0;
// Requests messages to the given route to be queued.
virtual void SendMessagesAreQueued(int route_id) = 0;
« no previous file with comments | « content/content_common.gypi ('k') | content/public/browser/message_port_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698