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

Issue 1061893002: Web MIDI: use GetVendorName() result only if it is available (Closed)

Created:
5 years, 8 months ago by Takashi Toyoshima
Modified:
5 years, 8 months ago
Reviewers:
yukawa
CC:
chromium-reviews, feature-media-reviews_chromium.org, toyoshim+midi_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Web MIDI: use GetVendorName() result only if it is available Since some minor devices are not supported by GetVendorName(), do not return immediately, but continue to do the next trial to find out the vendor name. BUG=474245 Committed: https://crrev.com/b8e1ec5458f7097b84a89babf8208223117573ed Cr-Commit-Position: refs/heads/master@{#323926}

Patch Set 1 #

Total comments: 1

Patch Set 2 : name ? name : "" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M media/midi/midi_manager_win.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
Takashi Toyoshima
See the bug, and PTAL.
5 years, 8 months ago (2015-04-06 17:10:55 UTC) #2
yukawa
Thank you for catching this. https://codereview.chromium.org/1061893002/diff/1/media/midi/midi_manager_win.cc File media/midi/midi_manager_win.cc (right): https://codereview.chromium.org/1061893002/diff/1/media/midi/midi_manager_win.cc#newcode296 media/midi/midi_manager_win.cc:296: if (name) Probably return ...
5 years, 8 months ago (2015-04-06 17:24:55 UTC) #3
Takashi Toyoshima
Since each USB device contains a manufacturer string by itself, I guess there is another ...
5 years, 8 months ago (2015-04-06 17:46:46 UTC) #4
Takashi Toyoshima
PTAL patch set 2.
5 years, 8 months ago (2015-04-06 17:49:48 UTC) #5
yukawa
lgtm
5 years, 8 months ago (2015-04-06 17:53:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1061893002/20001
5 years, 8 months ago (2015-04-06 17:53:38 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 8 months ago (2015-04-06 18:55:13 UTC) #9
commit-bot: I haz the power
5 years, 8 months ago (2015-04-06 18:56:10 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/b8e1ec5458f7097b84a89babf8208223117573ed
Cr-Commit-Position: refs/heads/master@{#323926}

Powered by Google App Engine
This is Rietveld 408576698