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

Issue 920873003: Return created channels synchronously (Closed)

Created:
5 years, 10 months ago by sgurun-gerrit only
Modified:
5 years, 10 months ago
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

Return created channels synchronously This CL's focus is to return the channels synchronously. A next CL will introduce a close() api to message ports so resources can be freed when not used, and then will change the way we post messages in background thread. At the receive side, we need to deal with messages received when a port is being transferred. this is for a next cl. The channel ports are created in a different thread. This CL introduces an internal "pending" state that is not visible to users to hide the fact that channels are not ready yet. BUG=393291 Committed: https://crrev.com/2d72bc0ea342dd43b5ba9593efb585c3c8bf8473 Cr-Commit-Position: refs/heads/master@{#316243}

Patch Set 1 #

Total comments: 22

Patch Set 2 : address hush review #

Patch Set 3 : disable a test for real and remove a wrong assertion #

Messages

Total messages: 16 (6 generated)
sgurun-gerrit only
On 2015/02/12 20:46:48, sgurun wrote: > mailto:sgurun@chromium.org changed reviewers: > + mailto:hush@chromium.org ptal, thanks
5 years, 10 months ago (2015-02-12 20:47:00 UTC) #2
hush (inactive)
https://codereview.chromium.org/920873003/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/920873003/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode1796 android_webview/java/src/org/chromium/android_webview/AwContents.java:1796: * @param msgPorts The sent message ports, if any. ...
5 years, 10 months ago (2015-02-13 03:25:08 UTC) #3
sgurun-gerrit only
https://codereview.chromium.org/920873003/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java File android_webview/java/src/org/chromium/android_webview/AwContents.java (right): https://codereview.chromium.org/920873003/diff/1/android_webview/java/src/org/chromium/android_webview/AwContents.java#newcode1796 android_webview/java/src/org/chromium/android_webview/AwContents.java:1796: * @param msgPorts The sent message ports, if any. ...
5 years, 10 months ago (2015-02-13 05:11:59 UTC) #4
sgurun-gerrit only
Mikhail, can you also review as a second eye? thanks!
5 years, 10 months ago (2015-02-13 05:12:53 UTC) #6
mnaganov (inactive)
lgtm
5 years, 10 months ago (2015-02-13 10:33:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/920873003/20001
5 years, 10 months ago (2015-02-13 14:43:33 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_rel_tests_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_rel_tests_recipe/builds/1441)
5 years, 10 months ago (2015-02-13 15:19:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/920873003/40001
5 years, 10 months ago (2015-02-13 17:51:42 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-13 18:11:53 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-13 18:13:04 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2d72bc0ea342dd43b5ba9593efb585c3c8bf8473
Cr-Commit-Position: refs/heads/master@{#316243}

Powered by Google App Engine
This is Rietveld 408576698