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..a823ecee0defbb27e362f1a93d3d17e964442a33 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -908,19 +908,6 @@ ProfileImpl::GetMediaRequestContextForStoragePartition( |
.GetIsolatedMediaRequestContextGetter(partition_path, in_memory).get(); |
} |
-void ProfileImpl::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); |
-} |
- |
content::ResourceContext* ProfileImpl::GetResourceContext() { |
return io_data_.GetResourceContext(); |
} |
@@ -961,6 +948,11 @@ content::GeolocationPermissionContext* |
return ChromeGeolocationPermissionContextFactory::GetForProfile(this); |
} |
+content::MidiPermissionContext* |
+ ProfileImpl::GetMidiPermissionContext() { |
+ return ChromeMIDIPermissionContextFactory::GetForProfile(this); |
+} |
+ |
DownloadManagerDelegate* ProfileImpl::GetDownloadManagerDelegate() { |
return DownloadServiceFactory::GetForBrowserContext(this)-> |
GetDownloadManagerDelegate(); |