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

Issue 944443003: Step two of optionally sending messages to/from message ports as base::Value. (Closed)

Created:
5 years, 10 months ago by Marijn Kruisselbrink
Modified:
5 years, 9 months ago
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, mlamouri+watch-content_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, kinuko+serviceworker, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@n-c-message-as-values-take2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Step two of optionally sending messages to/from message ports as base::Value. This CL changes every place a MessagePort is transferred between process to properly propagate the send_messages_as_values flag, as well as makes it possible for NavigatorConnectContext to set this flag when setting up a new connection. This is part of a series of changes: [1/5] Blink side changes in https://codereview.chromium.org/924983002/ that expose a needed v8 context [2/5] https://codereview.chromium.org/921013002/ allow MessagePort to send messages as values [3/5] This CL [4/5] https://codereview.chromium.org/938403005/ which uses this for navigator.connect services and adds infrastructure for layout tests [5/5] https://codereview.chromium.org/940423004/ adds layout tests to blink to test these new features BUG=426458 Committed: https://crrev.com/5b679c9db20587c78e9bf7c076edd7584413cc3b Cr-Commit-Position: refs/heads/master@{#318578}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Patch Set 4 : rebase again #

Patch Set 5 : fix android webview build #

Total comments: 6

Patch Set 6 : use auto where it makes sense #

Unified diffs Side-by-side diffs Delta from patch set Stats (+368 lines, -347 lines) Patch
M android_webview/browser/aw_message_port_message_filter.h View 1 2 3 4 1 chunk +5 lines, -3 lines 0 comments Download
M android_webview/browser/aw_message_port_message_filter.cc View 1 2 3 4 2 chunks +11 lines, -3 lines 0 comments Download
M android_webview/native/aw_contents.cc View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/message_port_message_filter.h View 2 chunks +7 lines, -5 lines 0 comments Download
M content/browser/message_port_message_filter.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M content/browser/message_port_provider.cc View 1 2 3 2 chunks +13 lines, -30 lines 0 comments Download
M content/browser/message_port_provider_browsertest.cc View 1 6 chunks +12 lines, -11 lines 0 comments Download
M content/browser/message_port_service.h View 1 3 chunks +10 lines, -7 lines 0 comments Download
M content/browser/message_port_service.cc View 1 6 chunks +15 lines, -20 lines 0 comments Download
M content/browser/navigator_connect/navigator_connect_context_impl.h View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M content/browser/navigator_connect/navigator_connect_context_impl.cc View 1 2 3 4 2 chunks +7 lines, -6 lines 0 comments Download
M content/browser/navigator_connect/navigator_connect_dispatcher_host.h View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/navigator_connect/navigator_connect_dispatcher_host.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M content/browser/navigator_connect/navigator_connect_service_worker_service_factory.cc View 1 2 3 4 5 5 chunks +16 lines, -14 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.h View 2 chunks +5 lines, -6 lines 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.h View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/service_worker/service_worker_version.h View 1 2 5 chunks +11 lines, -8 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 7 chunks +21 lines, -21 lines 0 comments Download
M content/browser/shared_worker/shared_worker_service_impl_unittest.cc View 4 chunks +7 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/child/navigator_connect/navigator_connect_provider.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/child/navigator_connect/navigator_connect_provider.cc View 1 chunk +7 lines, -6 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.h View 2 chunks +7 lines, -5 lines 0 comments Download
M content/child/service_worker/service_worker_dispatcher.cc View 2 chunks +5 lines, -10 lines 0 comments Download
M content/child/webmessageportchannel_impl.h View 1 2 3 4 chunks +17 lines, -4 lines 0 comments Download
M content/child/webmessageportchannel_impl.cc View 1 2 3 6 chunks +53 lines, -43 lines 0 comments Download
M content/common/message_port_messages.h View 1 2 3 4 3 chunks +17 lines, -9 lines 0 comments Download
M content/common/navigator_connect_messages.h View 2 chunks +2 lines, -1 line 0 comments Download
M content/common/service_worker/service_worker_messages.h View 1 2 5 chunks +29 lines, -23 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/public/browser/message_port_delegate.h View 2 chunks +5 lines, -3 lines 0 comments Download
M content/public/browser/message_port_provider.h View 1 2 3 3 chunks +12 lines, -9 lines 0 comments Download
M content/public/common/message_port_types.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 1 chunk +2 lines, -13 lines 0 comments Download
M content/renderer/render_frame_proxy.cc View 1 2 1 chunk +2 lines, -13 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 1 chunk +4 lines, -10 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.h View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M content/renderer/service_worker/service_worker_script_context.cc View 1 2 2 chunks +10 lines, -22 lines 0 comments Download
M content/renderer/shared_worker/embedded_shared_worker_stub.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 20 (7 generated)
Marijn Kruisselbrink
Unfortunately a rather large patch, although most of it is a pretty mechanical replacement of ...
5 years, 10 months ago (2015-02-20 23:18:50 UTC) #2
scheib
lgtm
5 years, 10 months ago (2015-02-26 21:57:05 UTC) #3
Marijn Kruisselbrink
+avi for content OWNERS +sgurun for android_webview OWNERS
5 years, 9 months ago (2015-02-27 21:30:55 UTC) #5
Avi (use Gerrit)
lgtm stampity stamp https://codereview.chromium.org/944443003/diff/80001/content/browser/message_port_service.cc File content/browser/message_port_service.cc (right): https://codereview.chromium.org/944443003/diff/80001/content/browser/message_port_service.cc#newcode229 content/browser/message_port_service.cc:229: for (const TransferredMessagePort& sent_port : message.second) ...
5 years, 9 months ago (2015-02-27 21:37:55 UTC) #6
Marijn Kruisselbrink
https://codereview.chromium.org/944443003/diff/80001/content/browser/message_port_service.cc File content/browser/message_port_service.cc (right): https://codereview.chromium.org/944443003/diff/80001/content/browser/message_port_service.cc#newcode229 content/browser/message_port_service.cc:229: for (const TransferredMessagePort& sent_port : message.second) On 2015/02/27 21:37:55, ...
5 years, 9 months ago (2015-02-27 23:20:18 UTC) #7
Marijn Kruisselbrink
+tsepez for IPC OWNERS
5 years, 9 months ago (2015-02-27 23:21:59 UTC) #9
Tom Sepez
Messages LGTM.
5 years, 9 months ago (2015-02-27 23:27:15 UTC) #10
sgurun-gerrit only
On 2015/02/27 23:27:15, Tom Sepez wrote: > Messages LGTM. lgtm
5 years, 9 months ago (2015-02-28 00:56:40 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944443003/100001
5 years, 9 months ago (2015-02-28 01:04:34 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_aosp/builds/63186) linux_chromium_gn_dbg on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 9 months ago (2015-02-28 01:59:53 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/944443003/100001
5 years, 9 months ago (2015-02-28 02:01:30 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 9 months ago (2015-02-28 02:38:14 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-02-28 02:39:09 UTC) #20
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/5b679c9db20587c78e9bf7c076edd7584413cc3b
Cr-Commit-Position: refs/heads/master@{#318578}

Powered by Google App Engine
This is Rietveld 408576698