BrowserContext::RequestMIDISysExPermission was added in Chrome 30

See http://src.chromium.org/viewvc/chrome?view=revision&revision=211437.
This commit is contained in:
Adam Roben 2013-10-07 15:26:11 -04:00
parent c1c4344879
commit 4d59060657
2 changed files with 5 additions and 0 deletions

View file

@ -126,6 +126,10 @@ net::URLRequestContextGetter* BrowserContext::GetMediaRequestContextForStoragePa
return GetRequestContext();
}
void BrowserContext::RequestMIDISysExPermission(int render_process_id, int render_view_id, const GURL& requesting_frame, const MIDISysExPermissionCallback& callback) {
callback.Run(false);
}
content::ResourceContext* BrowserContext::GetResourceContext() {
return resource_context_.get();
}

View file

@ -48,6 +48,7 @@ private:
virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE;
virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess(int renderer_child_id) OVERRIDE;
virtual net::URLRequestContextGetter* GetMediaRequestContextForStoragePartition(const base::FilePath& partition_path, bool in_memory);
virtual void RequestMIDISysExPermission(int render_process_id, int render_view_id, const GURL& requesting_frame, const MIDISysExPermissionCallback&) OVERRIDE;
virtual content::ResourceContext* GetResourceContext() OVERRIDE;
virtual content::DownloadManagerDelegate* GetDownloadManagerDelegate() OVERRIDE;
virtual content::GeolocationPermissionContext* GetGeolocationPermissionContext() OVERRIDE;