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

Issue 961393002: Implement the plumbing to handle messages in a separate handler (Closed)

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

Description

Implement the plumbing to handle messages in a separate handler Provide the mechanism to allow applications to provide their own handler for receiving postmessages on a thread separate than UI thread. BUG=393291 Committed: https://crrev.com/65b9392697befefd009dbe73d75dfe66894d814c Cr-Commit-Position: refs/heads/master@{#318589}

Patch Set 1 #

Total comments: 14

Patch Set 2 : address code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -87 lines) Patch
M android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java View 1 5 chunks +4 lines, -55 lines 0 comments Download
M android_webview/java/src/org/chromium/android_webview/MessagePort.java View 1 5 chunks +78 lines, -14 lines 0 comments Download
M android_webview/javatests/src/org/chromium/android_webview/test/PostMessageTest.java View 8 chunks +9 lines, -13 lines 0 comments Download
M android_webview/native/aw_message_port_service_impl.cc View 1 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
sgurun-gerrit only
On 2015/02/27 22:27:50, sgurun wrote: > mailto:sgurun@chromium.org changed reviewers: > + mailto:hush@chromium.org PTAL, thanks
5 years, 9 months ago (2015-02-27 22:27:59 UTC) #2
sgurun-gerrit only
On 2015/02/27 22:27:50, sgurun wrote: > mailto:sgurun@chromium.org changed reviewers: > + mailto:hush@chromium.org PTAL, thanks
5 years, 9 months ago (2015-02-27 22:28:00 UTC) #3
hush (inactive)
https://codereview.chromium.org/961393002/diff/1/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/961393002/diff/1/android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java#newcode140 android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java:140: private void onPostMessage(int portId, String message, int[] ports) { ...
5 years, 9 months ago (2015-02-28 01:28:35 UTC) #4
sgurun-gerrit only
https://codereview.chromium.org/961393002/diff/1/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/961393002/diff/1/android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java#newcode140 android_webview/java/src/org/chromium/android_webview/AwMessagePortService.java:140: private void onPostMessage(int portId, String message, int[] ports) { ...
5 years, 9 months ago (2015-02-28 02:15:56 UTC) #5
hush (inactive)
lgtm
5 years, 9 months ago (2015-02-28 02:28:21 UTC) #6
hush (inactive)
On 2015/02/28 02:28:21, hush wrote: > lgtm except some better names for onMessage and onReceivedMessage ...
5 years, 9 months ago (2015-02-28 02:34:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/961393002/20001
5 years, 9 months ago (2015-02-28 02:45:10 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 9 months ago (2015-02-28 03:40:11 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-02-28 03:42:55 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/65b9392697befefd009dbe73d75dfe66894d814c
Cr-Commit-Position: refs/heads/master@{#318589}

Powered by Google App Engine
This is Rietveld 408576698