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

Issue 755673002: Update MidiDispatcher to use Mojo Permission Service. (Closed)

Created:
6 years ago by mlamouri (slow - plz ping)
Modified:
6 years ago
Reviewers:
Tom Sepez, ddorwin, qsr, nasko
CC:
chromium-reviews, creis+watch_chromium.org, qsr+mojo_chromium.org, Aaron Boodman, posciak+watch_chromium.org, ben+mojo_chromium.org, nasko+codewatch_chromium.org, jam, mcasas+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, darin (slow to review), wjia+watch_chromium.org, viettrungluu+watch_chromium.org, Miguel Garcia, timvolodine, qsr
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Update MidiDispatcher to use Mojo Permission Service. This is removing the need for MidiDispatcherHost. BUG=430238 Committed: https://crrev.com/97de25e48eb98168b3d61c56a99522b1768e3ea5 Cr-Commit-Position: refs/heads/master@{#305614}

Patch Set 1 #

Total comments: 12
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -264 lines) Patch
M chrome/browser/media/midi_permission_context.cc View 2 chunks +11 lines, -5 lines 0 comments Download
M content/browser/child_process_security_policy_impl.h View 2 chunks +1 line, -3 lines 0 comments Download
D content/browser/media/midi_dispatcher_host.h View 1 chunk +0 lines, -64 lines 0 comments Download
D content/browser/media/midi_dispatcher_host.cc View 1 chunk +0 lines, -140 lines 0 comments Download
M content/browser/permissions/permission_service_impl.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 2 chunks +0 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 2 chunks +0 lines, -3 lines 0 comments Download
M content/common/media/midi_messages.h View 1 chunk +0 lines, -14 lines 0 comments Download
M content/common/permission_service.mojom View 1 chunk +1 line, -0 lines 2 comments Download
M content/content_browser.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/browser/child_process_security_policy.h View 1 chunk +3 lines, -0 lines 3 comments Download
M content/renderer/media/midi_dispatcher.h View 5 chunks +6 lines, -7 lines 0 comments Download
M content/renderer/media/midi_dispatcher.cc View 3 chunks +21 lines, -23 lines 7 comments Download

Messages

Total messages: 15 (3 generated)
mlamouri (slow - plz ping)
tsepez@chromium.org: Please review changes in: * content/common/media/midi_messages.h * content/common/permission_service.mojom ddorwin@chromium.org: Please review changes in * ...
6 years ago (2014-11-24 17:31:04 UTC) #2
Tom Sepez
https://codereview.chromium.org/755673002/diff/1/content/public/browser/child_process_security_policy.h File content/public/browser/child_process_security_policy.h (right): https://codereview.chromium.org/755673002/diff/1/content/public/browser/child_process_security_policy.h#newcode155 content/public/browser/child_process_security_policy.h:155: virtual void GrantSendMidiSysExMessage(int child_id) = 0; I'd expected to ...
6 years ago (2014-11-24 18:10:02 UTC) #3
mlamouri (slow - plz ping)
https://codereview.chromium.org/755673002/diff/1/content/public/browser/child_process_security_policy.h File content/public/browser/child_process_security_policy.h (right): https://codereview.chromium.org/755673002/diff/1/content/public/browser/child_process_security_policy.h#newcode155 content/public/browser/child_process_security_policy.h:155: virtual void GrantSendMidiSysExMessage(int child_id) = 0; On 2014/11/24 18:10:02, ...
6 years ago (2014-11-24 18:20:17 UTC) #4
ddorwin
chrome/browser/media/midi_permission_context.cc LGTM
6 years ago (2014-11-24 18:21:56 UTC) #5
Tom Sepez
LGTM otherwise. https://codereview.chromium.org/755673002/diff/1/content/public/browser/child_process_security_policy.h File content/public/browser/child_process_security_policy.h (right): https://codereview.chromium.org/755673002/diff/1/content/public/browser/child_process_security_policy.h#newcode155 content/public/browser/child_process_security_policy.h:155: virtual void GrantSendMidiSysExMessage(int child_id) = 0; Ah, ...
6 years ago (2014-11-24 18:27:09 UTC) #6
mlamouri (slow - plz ping)
+qsr@ https://codereview.chromium.org/755673002/diff/1/content/renderer/media/midi_dispatcher.cc File content/renderer/media/midi_dispatcher.cc (right): https://codereview.chromium.org/755673002/diff/1/content/renderer/media/midi_dispatcher.cc#newcode31 content/renderer/media/midi_dispatcher.cc:31: On 2014/11/24 18:27:09, Tom Sepez wrote: > On ...
6 years ago (2014-11-24 18:29:40 UTC) #7
nasko
LGTM with nits. https://codereview.chromium.org/755673002/diff/1/content/common/permission_service.mojom File content/common/permission_service.mojom (right): https://codereview.chromium.org/755673002/diff/1/content/common/permission_service.mojom#newcode15 content/common/permission_service.mojom:15: MIDI_SYSEX, nit: MIDI_SYS_EX https://codereview.chromium.org/755673002/diff/1/content/renderer/media/midi_dispatcher.cc File content/renderer/media/midi_dispatcher.cc ...
6 years ago (2014-11-25 00:31:00 UTC) #8
qsr
https://codereview.chromium.org/755673002/diff/1/content/renderer/media/midi_dispatcher.cc File content/renderer/media/midi_dispatcher.cc (right): https://codereview.chromium.org/755673002/diff/1/content/renderer/media/midi_dispatcher.cc#newcode31 content/renderer/media/midi_dispatcher.cc:31: On 2014/11/25 00:30:59, nasko wrote: > On 2014/11/24 18:29:40, ...
6 years ago (2014-11-25 09:38:00 UTC) #10
mlamouri (slow - plz ping)
https://codereview.chromium.org/755673002/diff/1/content/common/permission_service.mojom File content/common/permission_service.mojom (right): https://codereview.chromium.org/755673002/diff/1/content/common/permission_service.mojom#newcode15 content/common/permission_service.mojom:15: MIDI_SYSEX, On 2014/11/25 00:30:59, nasko wrote: > nit: MIDI_SYS_EX ...
6 years ago (2014-11-25 09:48:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/755673002/1
6 years ago (2014-11-25 09:49:04 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years ago (2014-11-25 10:50:32 UTC) #14
commit-bot: I haz the power
6 years ago (2014-11-25 10:51:11 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/97de25e48eb98168b3d61c56a99522b1768e3ea5
Cr-Commit-Position: refs/heads/master@{#305614}

Powered by Google App Engine
This is Rietveld 408576698