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

Issue 2673423002: Web MIDI: add dynamic MidiManager instantiation support for Linux (Closed)

Created:
3 years, 10 months ago by Takashi Toyoshima
Modified:
3 years, 10 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, toyoshim+midi_chromium.org, asvitkine+watch_chromium.org, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web MIDI: add dynamic MidiManager instantiation support for Linux With this change, MidiService starts supporting dynamic MidiManager instantiation. First, this enables it for Linux for a trial. BUG=672793 Review-Url: https://codereview.chromium.org/2673423002 Cr-Commit-Position: refs/heads/master@{#449574} Committed: https://chromium.googlesource.com/chromium/src/+/0f1c3f34031ae08400afbe43c70fd71267a870b1

Patch Set 1 #

Patch Set 2 : seq.c:4085: snd_seq_event_input: Assertion `seq' failed. #

Patch Set 3 : ready for review #

Patch Set 4 : cleanup #

Total comments: 4

Patch Set 5 : update metrics #

Total comments: 7

Patch Set 6 : review #12 + fix a race #

Patch Set 7 : hope try compile this on all #

Total comments: 22

Patch Set 8 : mac build fix #

Patch Set 9 : fix non-alsa linux build #

Patch Set 10 : review #21 #

Patch Set 11 : fix check failures #

Total comments: 1

Patch Set 12 : rebase #

Patch Set 13 : rebase again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+306 lines, -112 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +9 lines, -1 line 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/media/midi_host_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M media/midi/midi_manager.h View 1 2 3 4 5 6 7 8 9 4 chunks +13 lines, -2 lines 0 comments Download
M media/midi/midi_manager.cc View 1 2 3 4 5 6 7 8 3 chunks +22 lines, -12 lines 0 comments Download
M media/midi/midi_manager_alsa.h View 1 2 3 4 5 6 7 8 9 4 chunks +7 lines, -11 lines 0 comments Download
M media/midi/midi_manager_alsa.cc View 1 2 3 4 5 6 7 8 9 10 14 chunks +85 lines, -42 lines 0 comments Download
M media/midi/midi_manager_android.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M media/midi/midi_manager_android.cc View 1 2 3 4 5 6 1 chunk +6 lines, -4 lines 0 comments Download
M media/midi/midi_manager_mac.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -1 line 0 comments Download
M media/midi/midi_manager_mac.cc View 1 2 3 4 5 6 1 chunk +6 lines, -6 lines 0 comments Download
M media/midi/midi_manager_mac_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M media/midi/midi_manager_unittest.cc View 1 2 3 4 5 6 6 chunks +13 lines, -7 lines 0 comments Download
M media/midi/midi_manager_usb.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M media/midi/midi_manager_usb.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M media/midi/midi_manager_usb_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M media/midi/midi_manager_win.h View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M media/midi/midi_manager_win.cc View 1 2 3 4 5 6 2 chunks +4 lines, -5 lines 0 comments Download
M media/midi/midi_manager_winrt.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -1 line 0 comments Download
M media/midi/midi_manager_winrt.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M media/midi/midi_service.h View 1 2 3 4 5 6 2 chunks +42 lines, -5 lines 0 comments Download
M media/midi/midi_service.cc View 1 2 3 4 5 6 7 8 9 2 chunks +66 lines, -6 lines 0 comments Download
M media/midi/midi_switches.h View 1 chunk +2 lines, -0 lines 0 comments Download
M media/midi/midi_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (37 generated)
Takashi Toyoshima
Adam, can you review this change? Background of this change was explained in the crbug. ...
3 years, 10 months ago (2017-02-07 11:50:23 UTC) #7
Adam Goode
https://codereview.chromium.org/2673423002/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2673423002/diff/60001/chrome/browser/about_flags.cc#newcode2202 chrome/browser/about_flags.cc:2202: {"enablee-midi-manager-dynamic-instantiation", "enable-midi-manager-dynamic-instantiation" ? https://codereview.chromium.org/2673423002/diff/60001/media/midi/midi_manager_alsa.cc File media/midi/midi_manager_alsa.cc (right): https://codereview.chromium.org/2673423002/diff/60001/media/midi/midi_manager_alsa.cc#newcode919 media/midi/midi_manager_alsa.cc:919: ...
3 years, 10 months ago (2017-02-07 13:31:14 UTC) #12
yhirano
https://codereview.chromium.org/2673423002/diff/80001/media/midi/midi_service.cc File media/midi/midi_service.cc (right): https://codereview.chromium.org/2673423002/diff/80001/media/midi/midi_service.cc#newcode103 media/midi/midi_service.cc:103: return g_midi_service->GetTaskRunnerImpl(runner_id); Is it possible to store a MidiService ...
3 years, 10 months ago (2017-02-08 03:50:24 UTC) #15
Takashi Toyoshima
https://codereview.chromium.org/2673423002/diff/60001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2673423002/diff/60001/chrome/browser/about_flags.cc#newcode2202 chrome/browser/about_flags.cc:2202: {"enablee-midi-manager-dynamic-instantiation", On 2017/02/07 13:31:14, Adam Goode wrote: > "enable-midi-manager-dynamic-instantiation" ...
3 years, 10 months ago (2017-02-08 09:08:01 UTC) #18
yhirano
https://codereview.chromium.org/2673423002/diff/120001/media/midi/midi_manager.h File media/midi/midi_manager.h (right): https://codereview.chromium.org/2673423002/diff/120001/media/midi/midi_manager.h#newcode84 media/midi/midi_manager.h:84: MidiManager(MidiService* service); +explicit https://codereview.chromium.org/2673423002/diff/120001/media/midi/midi_manager.h#newcode93 media/midi/midi_manager.h:93: // *** Note ***: ...
3 years, 10 months ago (2017-02-08 10:04:37 UTC) #21
Takashi Toyoshima
https://codereview.chromium.org/2673423002/diff/120001/media/midi/midi_manager.h File media/midi/midi_manager.h (right): https://codereview.chromium.org/2673423002/diff/120001/media/midi/midi_manager.h#newcode84 media/midi/midi_manager.h:84: MidiManager(MidiService* service); On 2017/02/08 10:04:36, yhirano wrote: > +explicit ...
3 years, 10 months ago (2017-02-08 11:08:56 UTC) #24
Takashi Toyoshima
https://codereview.chromium.org/2673423002/diff/200001/media/midi/midi_manager_alsa.cc File media/midi/midi_manager_alsa.cc (right): https://codereview.chromium.org/2673423002/diff/200001/media/midi/midi_manager_alsa.cc#newcode193 media/midi/midi_manager_alsa.cc:193: { Since Finalize() is called only when StartInitialization() is ...
3 years, 10 months ago (2017-02-08 12:56:13 UTC) #29
Adam Goode
lgtm I tested on Linux. Looks good! I confirm that Chrome now disconnects from ALSA ...
3 years, 10 months ago (2017-02-08 15:10:37 UTC) #32
Takashi Toyoshima
+Alexei for tools/metrics
3 years, 10 months ago (2017-02-09 05:26:43 UTC) #34
yhirano
lgtm
3 years, 10 months ago (2017-02-09 09:31:26 UTC) #35
Alexei Svitkine (slow)
lgtm
3 years, 10 months ago (2017-02-09 16:27:27 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673423002/200001
3 years, 10 months ago (2017-02-10 01:14:33 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/279717)
3 years, 10 months ago (2017-02-10 01:34:50 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673423002/220001
3 years, 10 months ago (2017-02-10 05:17:43 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/279881)
3 years, 10 months ago (2017-02-10 05:35:58 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673423002/220001
3 years, 10 months ago (2017-02-10 06:57:25 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/319162)
3 years, 10 months ago (2017-02-10 07:13:35 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673423002/220001
3 years, 10 months ago (2017-02-10 08:06:08 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2673423002/240001
3 years, 10 months ago (2017-02-10 08:09:00 UTC) #54
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 10:04:54 UTC) #57
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/chromium/src/+/0f1c3f34031ae08400afbe43c70f...

Powered by Google App Engine
This is Rietveld 408576698