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

Issue 968663004: Improve MidiManagerAlsa manufacturer reporting (Closed)

Created:
5 years, 9 months ago by Adam Goode
Modified:
5 years, 9 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, Ryan Sleevi
Base URL:
https://chromium.googlesource.com/chromium/src.git@udev
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve MidiManagerAlsa manufacturer reporting This is dependent on https://codereview.chromium.org/965903003/ BUG=377250 Committed: https://crrev.com/2e1bef845184269974b3dc42f7864add125b8466 Cr-Commit-Position: refs/heads/master@{#319597}

Patch Set 1 #

Patch Set 2 : Fix building midi_manager_alsa_unittest for gn #

Patch Set 3 : Try again to fix components build for midi_manager_alsa #

Patch Set 4 : Fix gyp build of media_unittests #

Patch Set 5 : Fix gyp component builds on linux #

Patch Set 6 : Undo incorrect use of MEDIA_IMPLEMENTATION #

Total comments: 6

Patch Set 7 : Address reviewer comments #

Total comments: 2

Patch Set 8 : Fix declaration order of MidiManagerAlsa::UnescapeUdev #

Patch Set 9 : Remove use of banned R"(...)" #

Total comments: 10

Patch Set 10 : Fix a few issues, separate out udev stuff more #

Total comments: 6

Patch Set 11 : Fix final comments #

Patch Set 12 : Fix embarrassing mistake that broke driver and manufacturer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -34 lines) Patch
M media/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -0 lines 0 comments Download
M media/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M media/media.gyp View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M media/midi/midi_manager_alsa.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +50 lines, -1 line 0 comments Download
M media/midi/midi_manager_alsa.cc View 1 2 3 4 5 6 7 8 9 10 11 9 chunks +139 lines, -33 lines 0 comments Download
A media/midi/midi_manager_alsa_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +77 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (8 generated)
Adam Goode
5 years, 9 months ago (2015-03-03 02:24:51 UTC) #2
Adam Goode
I think I've finally got all the gn and gyp stuff worked out.
5 years, 9 months ago (2015-03-04 06:28:14 UTC) #4
Takashi Toyoshima
thank you for your contribution again. https://codereview.chromium.org/968663004/diff/90001/media/midi/midi_manager_alsa.h File media/midi/midi_manager_alsa.h (right): https://codereview.chromium.org/968663004/diff/90001/media/midi/midi_manager_alsa.h#newcode27 media/midi/midi_manager_alsa.h:27: MEDIA_EXPORT_PRIVATE std::string UnescapeUdev(const ...
5 years, 9 months ago (2015-03-04 09:33:37 UTC) #5
Adam Goode
On 2015/03/04 09:33:37, Takashi Toyoshima (chromium) wrote: > thank you for your contribution again. > ...
5 years, 9 months ago (2015-03-04 14:11:17 UTC) #6
wolenetz
cc+=rsleevi due to comment on another CL: https://codereview.chromium.org/877323009/#msg50 : rsleevi@: is the usage of use_udev ...
5 years, 9 months ago (2015-03-04 19:28:58 UTC) #7
Ryan Sleevi
Yeah, the build system changes are OK because 1) The variable is declared in //build/common.gypi ...
5 years, 9 months ago (2015-03-04 19:46:57 UTC) #9
Adam Goode
https://codereview.chromium.org/968663004/diff/90001/media/media.gyp File media/media.gyp (right): https://codereview.chromium.org/968663004/diff/90001/media/media.gyp#newcode1407 media/media.gyp:1407: ['OS=="linux"', { On 2015/03/04 19:28:58, wolenetz wrote: > Why ...
5 years, 9 months ago (2015-03-04 19:59:18 UTC) #10
wolenetz
lgtm Thank you, rsleevi@, for confirming your prior guidance in the context of this CL. ...
5 years, 9 months ago (2015-03-04 22:18:35 UTC) #11
Adam Goode
https://codereview.chromium.org/968663004/diff/110001/media/midi/midi_manager_alsa.cc File media/midi/midi_manager_alsa.cc (right): https://codereview.chromium.org/968663004/diff/110001/media/midi/midi_manager_alsa.cc#newcode474 media/midi/midi_manager_alsa.cc:474: std::string MidiManagerAlsa::UnescapeUdev(const std::string& s) { On 2015/03/04 22:18:35, wolenetz ...
5 years, 9 months ago (2015-03-04 22:57:35 UTC) #12
wolenetz
On 2015/03/04 22:57:35, Adam Goode wrote: > https://codereview.chromium.org/968663004/diff/110001/media/midi/midi_manager_alsa.cc > File media/midi/midi_manager_alsa.cc (right): > > https://codereview.chromium.org/968663004/diff/110001/media/midi/midi_manager_alsa.cc#newcode474 ...
5 years, 9 months ago (2015-03-04 23:07:27 UTC) #13
Adam Goode
On 2015/03/04 23:07:27, wolenetz wrote: > On 2015/03/04 22:57:35, Adam Goode wrote: > > > ...
5 years, 9 months ago (2015-03-04 23:10:00 UTC) #14
Takashi Toyoshima
looks almost ok, but there are some nits, and one optional suggestion. https://codereview.chromium.org/968663004/diff/150001/media/midi/midi_manager_alsa.cc File media/midi/midi_manager_alsa.cc ...
5 years, 9 months ago (2015-03-05 07:23:22 UTC) #15
Adam Goode
https://codereview.chromium.org/968663004/diff/150001/media/midi/midi_manager_alsa.cc File media/midi/midi_manager_alsa.cc (right): https://codereview.chromium.org/968663004/diff/150001/media/midi/midi_manager_alsa.cc#newcode46 media/midi/midi_manager_alsa.cc:46: // Copied from components/storage_monitor/udev_util_linux.cc. On 2015/03/05 07:23:22, Takashi Toyoshima ...
5 years, 9 months ago (2015-03-05 21:46:58 UTC) #16
Adam Goode
https://codereview.chromium.org/968663004/diff/150001/media/midi/midi_manager_alsa.cc File media/midi/midi_manager_alsa.cc (right): https://codereview.chromium.org/968663004/diff/150001/media/midi/midi_manager_alsa.cc#newcode46 media/midi/midi_manager_alsa.cc:46: // Copied from components/storage_monitor/udev_util_linux.cc. On 2015/03/05 07:23:22, Takashi Toyoshima ...
5 years, 9 months ago (2015-03-05 21:46:58 UTC) #17
Takashi Toyoshima
lgtm with nits and a question that may need a small trivial fix. https://codereview.chromium.org/968663004/diff/170001/media/midi/midi_manager_alsa.cc File ...
5 years, 9 months ago (2015-03-06 08:00:12 UTC) #18
Adam Goode
https://codereview.chromium.org/968663004/diff/170001/media/midi/midi_manager_alsa.cc File media/midi/midi_manager_alsa.cc (right): https://codereview.chromium.org/968663004/diff/170001/media/midi/midi_manager_alsa.cc#newcode47 media/midi/midi_manager_alsa.cc:47: // TODO(agoode) Move this into a common place. Maybe ...
5 years, 9 months ago (2015-03-06 15:25:02 UTC) #19
Adam Goode
PTAL I fixed an embarrassing mistake where manufacturer and driver were not initialized.
5 years, 9 months ago (2015-03-06 22:14:08 UTC) #20
Takashi Toyoshima
Oh, I also overlooked it. Patch Set 12 LGTM.
5 years, 9 months ago (2015-03-08 07:32:47 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/968663004/210001
5 years, 9 months ago (2015-03-08 13:53:00 UTC) #24
Adam Goode
OWNERS lgtm needed for adding +device/udev_linux to DEPS
5 years, 9 months ago (2015-03-08 14:02:33 UTC) #26
Reilly Grant (use Gerrit)
DEPS lgtm
5 years, 9 months ago (2015-03-08 17:24:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/968663004/210001
5 years, 9 months ago (2015-03-08 18:46:17 UTC) #30
commit-bot: I haz the power
Committed patchset #12 (id:210001)
5 years, 9 months ago (2015-03-08 19:40:30 UTC) #31
commit-bot: I haz the power
5 years, 9 months ago (2015-03-08 19:41:08 UTC) #32
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/2e1bef845184269974b3dc42f7864add125b8466
Cr-Commit-Position: refs/heads/master@{#319597}

Powered by Google App Engine
This is Rietveld 408576698