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

Unified Diff: content/child/webmessageportchannel_impl.h

Issue 189253002: Implement ServiceWorker::postMessage() [Chromium] (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git-cl format and review feedback Created 6 years, 9 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/child/webmessageportchannel_impl.h
diff --git a/content/child/webmessageportchannel_impl.h b/content/child/webmessageportchannel_impl.h
index e737fc31fe3976b0076eed07def99a3ab2dd5e03..6ed3c34e0db52bf8fe2e24c420ed9ba5214e3a44 100644
--- a/content/child/webmessageportchannel_impl.h
+++ b/content/child/webmessageportchannel_impl.h
@@ -33,6 +33,9 @@ class WebMessagePortChannelImpl
int message_port_id,
base::MessageLoopProxy* child_thread_loop);
+ static void ExtractMessagePortIDs(blink::WebMessagePortChannelArray* channels,
+ std::vector<int>* message_port_ids);
jam 2014/03/19 21:08:48 nit: why not have the return value be the struct s
jsbell 2014/03/19 23:52:39 Ah yes, much cleaner. Done and done.
+
// Queues received and incoming messages until there are no more in-flight
// messages, then sends all of them to the browser process.
void QueueMessages();

Powered by Google App Engine
This is Rietveld 408576698