| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 8b6afe1160dfdf9afa3c0da05a21cadc5656aafe..12ba3708bc4f257946f42a12b4a7a7f136aefdc8 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -911,16 +911,29 @@ ProfileImpl::GetMediaRequestContextForStoragePartition(
|
| void ProfileImpl::RequestMIDISysExPermission(
|
| int render_process_id,
|
| int render_view_id,
|
| + int bridge_id,
|
| const GURL& requesting_frame,
|
| const MIDISysExPermissionCallback& callback) {
|
| ChromeMIDIPermissionContext* context =
|
| ChromeMIDIPermissionContextFactory::GetForProfile(this);
|
| context->RequestMIDISysExPermission(render_process_id,
|
| render_view_id,
|
| + bridge_id,
|
| requesting_frame,
|
| callback);
|
| }
|
|
|
| +void ProfileImpl::CancelMIDISysExPermissionRequest(
|
| + int render_process_id,
|
| + int render_view_id,
|
| + int bridge_id,
|
| + const GURL& requesting_frame) {
|
| + ChromeMIDIPermissionContext* context =
|
| + ChromeMIDIPermissionContextFactory::GetForProfile(this);
|
| + context->CancelMIDISysExPermissionRequest(
|
| + render_process_id, render_view_id, bridge_id, requesting_frame);
|
| +}
|
| +
|
| content::ResourceContext* ProfileImpl::GetResourceContext() {
|
| return io_data_.GetResourceContext();
|
| }
|
|
|