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

Issue 1351393002: Make getBluetoothManualChooserEvents() asynchronous. (Closed)

Created:
5 years, 3 months ago by Jeffrey Yasskin
Modified:
5 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, jochen+watch_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make getBluetoothManualChooserEvents() asynchronous. This fixes the Windows tests, where synchronous, unpumped messages to the UI thread are forbidden: https://codereview.chromium.org/1304353004/ BUG=500989 Committed: https://crrev.com/a5cef8fe03eba361467c63ab38db5d759fa6eedb Cr-Commit-Position: refs/heads/master@{#350167}

Patch Set 1 #

Patch Set 2 : Have getBluetoothManualChooserEvents take a callback instead of sending a sync message. #

Patch Set 3 : Post the callback instead of invoking it directly, and define Callback. #

Patch Set 4 : Fix components/html_viewer #

Patch Set 5 : Return a Promise. #

Patch Set 6 : Fix components/html_viewer more. #

Patch Set 7 : Go back to the callback interface. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -25 lines) Patch
M components/html_viewer/web_test_delegate_impl.h View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M components/html_viewer/web_test_delegate_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M components/test_runner/test_runner.h View 1 5 6 2 chunks +6 lines, -2 lines 0 comments Download
M components/test_runner/test_runner.cc View 1 2 5 6 4 chunks +32 lines, -6 lines 0 comments Download
M components/test_runner/web_test_delegate.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M content/shell/browser/blink_test_controller.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/shell/browser/blink_test_controller.cc View 1 1 chunk +4 lines, -3 lines 0 comments Download
M content/shell/common/shell_messages.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.h View 1 2 4 chunks +10 lines, -1 line 0 comments Download
M content/shell/renderer/layout_test/blink_test_runner.cc View 1 3 chunks +17 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (12 generated)
Jeffrey Yasskin
Please forward this to anyone else who might want to object to the nested message ...
5 years, 3 months ago (2015-09-18 20:51:33 UTC) #2
Mike West
This seems like a last-resort sort of patch. +jochen, who will probably have suggestions.
5 years, 3 months ago (2015-09-19 09:46:38 UTC) #4
jochen (gone - plz use gerrit)
On 2015/09/19 at 09:46:38, mkwst wrote: > This seems like a last-resort sort of patch. ...
5 years, 3 months ago (2015-09-21 15:08:09 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351393002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351393002/20001
5 years, 3 months ago (2015-09-21 21:45:42 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/62849)
5 years, 3 months ago (2015-09-21 22:00:41 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351393002/60001
5 years, 3 months ago (2015-09-21 22:07:28 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/135203)
5 years, 3 months ago (2015-09-21 22:26:51 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351393002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351393002/100001
5 years, 3 months ago (2015-09-21 23:01:41 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/135240)
5 years, 3 months ago (2015-09-21 23:28:55 UTC) #18
Jeffrey Yasskin
On 2015/09/21 15:08:09, jochen wrote: > On 2015/09/19 at 09:46:38, mkwst wrote: > > This ...
5 years, 3 months ago (2015-09-22 00:09:39 UTC) #19
jochen (gone - plz use gerrit)
i like the callback based version better. no messing around with global handles
5 years, 3 months ago (2015-09-22 15:18:54 UTC) #20
Jeffrey Yasskin
That's an odd objection. Everything in the blink bindings layer uses Persistents too, through https://code.google.com/p/chromium/codesearch/#chromium/src/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h. ...
5 years, 3 months ago (2015-09-22 15:28:02 UTC) #21
jochen (gone - plz use gerrit)
On 2015/09/22 at 15:28:02, jyasskin wrote: > That's an odd objection. Everything in the blink ...
5 years, 3 months ago (2015-09-22 15:29:26 UTC) #22
Jeffrey Yasskin
On 2015/09/22 15:29:26, jochen wrote: > On 2015/09/22 at 15:28:02, jyasskin wrote: > > That's ...
5 years, 3 months ago (2015-09-22 15:32:21 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351393002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351393002/140001
5 years, 3 months ago (2015-09-22 15:35:25 UTC) #25
Jeffrey Yasskin
On 2015/09/22 15:32:21, Jeffrey Yasskin wrote: > On 2015/09/22 15:29:26, jochen wrote: > > On ...
5 years, 3 months ago (2015-09-22 15:46:36 UTC) #26
jochen (gone - plz use gerrit)
lgtm
5 years, 3 months ago (2015-09-22 15:49:22 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-22 16:14:17 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351393002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351393002/140001
5 years, 3 months ago (2015-09-22 16:15:02 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 3 months ago (2015-09-22 16:20:37 UTC) #32
commit-bot: I haz the power
5 years, 3 months ago (2015-09-22 16:21:13 UTC) #33
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/a5cef8fe03eba361467c63ab38db5d759fa6eedb
Cr-Commit-Position: refs/heads/master@{#350167}

Powered by Google App Engine
This is Rietveld 408576698