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

Unified Diff: content/public/browser/message_port_provider.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/public/browser/message_port_delegate.h ('k') | content/public/common/message_port_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/message_port_provider.h
diff --git a/content/public/browser/message_port_provider.h b/content/public/browser/message_port_provider.h
index 95e4fe6c9caaefe86e58cbe5aba3ec445237e42b..8a842b4ed5bffd8c55db7e56508b595d27f0f4a9 100644
--- a/content/public/browser/message_port_provider.h
+++ b/content/public/browser/message_port_provider.h
@@ -15,8 +15,6 @@ namespace content {
class MessagePortDelegate;
class WebContents;
-struct MessagePortMessage;
-struct TransferredMessagePort;
// An interface consisting of methods that can be called to use Message ports.
class CONTENT_EXPORT MessagePortProvider {
@@ -32,7 +30,7 @@ class CONTENT_EXPORT MessagePortProvider {
const base::string16& source_origin,
const base::string16& target_origin,
const base::string16& data,
- const std::vector<TransferredMessagePort>& ports);
+ const std::vector<int>& ports);
// Creates a message channel and provide the ids of the message ports that are
// associated with this message channel.
@@ -48,8 +46,8 @@ class CONTENT_EXPORT MessagePortProvider {
// Should be called on IO thread.
static void PostMessageToPort(
int sender_port_id,
- const MessagePortMessage& message,
- const std::vector<TransferredMessagePort>& sent_ports);
+ const base::string16& message,
+ const std::vector<int>& sent_ports);
// Close the message port. Should be called on IO thread.
static void ClosePort(int message_port_id);
« no previous file with comments | « content/public/browser/message_port_delegate.h ('k') | content/public/common/message_port_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698