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

Issue 995663002: Implement receiving transferred ports from JS (Closed)

Created:
5 years, 9 months ago by sgurun-gerrit only
Modified:
5 years, 9 months ago
Reviewers:
hush (inactive), nasko
CC:
chromium-reviews, darin-cc_chromium.org, jam, android-webview-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@flaky-test
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

This CL addresses a long standing TODO to implement transferring ports from JS to Java. Note that this is the last piece of MessageChannel puzzle. With this, we can consider basic implementation done. There is a missing feature to implement posting messages to frames given with their names, but this has other dependency. We can now start further testing, optimization and refactorings. BUG=393291 Committed: https://crrev.com/758671bdf97f247de84ce6c814e852b02bdf8366 Cr-Commit-Position: refs/heads/master@{#320198}

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 8

Patch Set 3 : rebase again #

Total comments: 2

Patch Set 4 : address nit from nasko #

Unified diffs Side-by-side diffs Delta from patch set Stats (+115 lines, -29 lines) Patch
M android_webview/browser/aw_message_port_message_filter.cc View 1 chunk +4 lines, -1 line 0 comments Download
M android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java View 1 chunk +8 lines, -2 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/MessagePort.java View 6 chunks +13 lines, -11 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/PostMessageTest.java View 1 2 12 chunks +66 lines, -15 lines 0 comments Download
M android_webview/native/aw_message_port_service_impl.cc View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/message_port_provider.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M content/public/browser/message_port_provider.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (4 generated)
sgurun-gerrit only
On 2015/03/10 21:43:14, sgurun wrote: > mailto:sgurun@chromium.org changed reviewers: > + mailto:hush@chromium.org ptal
5 years, 9 months ago (2015-03-10 21:43:31 UTC) #2
sgurun-gerrit only
On 2015/03/10 21:43:31, sgurun wrote: > On 2015/03/10 21:43:14, sgurun wrote: > > mailto:sgurun@chromium.org changed ...
5 years, 9 months ago (2015-03-10 21:47:11 UTC) #4
hush (inactive)
https://codereview.chromium.org/995663002/diff/20001/android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java File android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java (right): https://codereview.chromium.org/995663002/diff/20001/android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java#newcode148 android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java:148: for (int i = 0; i < ports.length; i++) ...
5 years, 9 months ago (2015-03-10 22:31:36 UTC) #5
sgurun-gerrit only
https://codereview.chromium.org/995663002/diff/20001/android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java File android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java (right): https://codereview.chromium.org/995663002/diff/20001/android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java#newcode148 android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java:148: for (int i = 0; i < ports.length; i++) ...
5 years, 9 months ago (2015-03-10 23:20:13 UTC) #6
hush (inactive)
okay. a_w/ lgtm
5 years, 9 months ago (2015-03-10 23:32:17 UTC) #7
nasko
LGTM with a nit. https://codereview.chromium.org/995663002/diff/40001/content/public/browser/message_port_provider.h File content/public/browser/message_port_provider.h (right): https://codereview.chromium.org/995663002/diff/40001/content/public/browser/message_port_provider.h#newcode70 content/public/browser/message_port_provider.h:70: // routing numbers equal to ...
5 years, 9 months ago (2015-03-11 23:08:42 UTC) #8
sgurun-gerrit only
https://codereview.chromium.org/995663002/diff/40001/content/public/browser/message_port_provider.h File content/public/browser/message_port_provider.h (right): https://codereview.chromium.org/995663002/diff/40001/content/public/browser/message_port_provider.h#newcode70 content/public/browser/message_port_provider.h:70: // routing numbers equal to the message port numbers. ...
5 years, 9 months ago (2015-03-11 23:29:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/995663002/60001
5 years, 9 months ago (2015-03-11 23:30:17 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-12 01:11:54 UTC) #13
commit-bot: I haz the power
5 years, 9 months ago (2015-03-12 01:12:30 UTC) #14
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/758671bdf97f247de84ce6c814e852b02bdf8366
Cr-Commit-Position: refs/heads/master@{#320198}

Powered by Google App Engine
This is Rietveld 408576698