Index: content/shell/shell_browser_context.cc |
diff --git a/content/shell/shell_browser_context.cc b/content/shell/shell_browser_context.cc |
index 721d7c88210d7fa46c57022095f01dad747f356d..b5fc9bc37be04d363c1e89f70f358aea1abeea78 100644 |
--- a/content/shell/shell_browser_context.cc |
+++ b/content/shell/shell_browser_context.cc |
@@ -170,6 +170,16 @@ net::URLRequestContextGetter* |
return GetRequestContext(); |
} |
+void ShellBrowserContext::RequestMIDISysExPermission( |
+ int render_process_id, |
+ int render_view_id, |
+ int client_id, |
+ const GURL& requesting_frame, |
+ const MIDISysExPermissionCallback& callback) { |
+ // Always reject requests for testing. |
+ callback.Run(render_process_id, render_view_id, client_id, false); |
+} |
+ |
net::URLRequestContextGetter* |
ShellBrowserContext::CreateRequestContextForStoragePartition( |
const base::FilePath& partition_path, |