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

Unified Diff: chrome/browser/worker_host/message_port_dispatcher.h

Issue 173193: Updating Worker.postMessage(), DOMWindow.postMessage(), and... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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 | « no previous file | chrome/browser/worker_host/message_port_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/worker_host/message_port_dispatcher.h
===================================================================
--- chrome/browser/worker_host/message_port_dispatcher.h (revision 23787)
+++ chrome/browser/worker_host/message_port_dispatcher.h (working copy)
@@ -18,7 +18,7 @@
class MessagePortDispatcher : public NotificationObserver {
public:
- typedef std::vector<std::pair<string16, int> > QueuedMessages;
+ typedef std::vector<std::pair<string16, std::vector<int> > > QueuedMessages;
// Returns the MessagePortDispatcher singleton.
static MessagePortDispatcher* GetInstance();
@@ -48,14 +48,14 @@
void OnEntangle(int local_message_port_id, int remote_message_port_id);
void OnPostMessage(int sender_message_port_id,
const string16& message,
- int sent_message_port_id);
+ const std::vector<int>& sent_message_port_ids);
void OnQueueMessages(int message_port_id);
void OnSendQueuedMessages(int message_port_id,
const QueuedMessages& queued_messages);
void PostMessageTo(int message_port_id,
const string16& message,
- int sent_message_port_id);
+ const std::vector<int>& sent_message_port_ids);
// NotificationObserver interface.
void Observe(NotificationType type,
« no previous file with comments | « no previous file | chrome/browser/worker_host/message_port_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698