| 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..b1e7ebe3b6032d874f739c78b0d594e0a20c1d89 100644
|
| --- a/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| +++ b/chrome/browser/profiles/off_the_record_profile_impl.cc
|
| @@ -285,19 +285,6 @@ OffTheRecordProfileImpl::GetMediaRequestContextForStoragePartition(
|
| .get();
|
| }
|
|
|
| -void OffTheRecordProfileImpl::RequestMIDISysExPermission(
|
| - int render_process_id,
|
| - int render_view_id,
|
| - const GURL& requesting_frame,
|
| - const MIDISysExPermissionCallback& callback) {
|
| - ChromeMIDIPermissionContext* context =
|
| - ChromeMIDIPermissionContextFactory::GetForProfile(this);
|
| - context->RequestMIDISysExPermission(render_process_id,
|
| - render_view_id,
|
| - requesting_frame,
|
| - callback);
|
| -}
|
| -
|
| net::URLRequestContextGetter*
|
| OffTheRecordProfileImpl::GetRequestContextForExtensions() {
|
| return io_data_.GetExtensionsRequestContextGetter().get();
|
| @@ -340,6 +327,11 @@ content::GeolocationPermissionContext*
|
| return ChromeGeolocationPermissionContextFactory::GetForProfile(this);
|
| }
|
|
|
| +content::MidiPermissionContext*
|
| + OffTheRecordProfileImpl::GetMidiPermissionContext() {
|
| + return ChromeMIDIPermissionContextFactory::GetForProfile(this);
|
| +}
|
| +
|
| quota::SpecialStoragePolicy*
|
| OffTheRecordProfileImpl::GetSpecialStoragePolicy() {
|
| return GetExtensionSpecialStoragePolicy();
|
|
|