| Index: chrome/browser/profiles/off_the_record_profile_impl.cc
|
| diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| index af3c60c47d4435f8f84c13da6f1ffec9a1375193..7411348cbd112c155e1ea13f637d7a1abaf9344c 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| @@ -288,16 +288,29 @@ OffTheRecordProfileImpl::GetMediaRequestContextForStoragePartition(
|
| void OffTheRecordProfileImpl::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 OffTheRecordProfileImpl::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);
|
| +}
|
| +
|
| net::URLRequestContextGetter*
|
| OffTheRecordProfileImpl::GetRequestContextForExtensions() {
|
| return io_data_.GetExtensionsRequestContextGetter().get();
|
|
|