Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1643)

Unified Diff: content/shell/browser/shell_browser_context.cc

Issue 335993002: Convert MIDI permission requests to use WebContents in preparation for switching the code to using … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/browser/shell_browser_context.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/browser/shell_browser_context.cc
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc
index 244c18857fcc2d582d814d37b40bae4f2079597b..30beef804893456d63c054ce1407cf8bbf90d878 100644
--- a/content/shell/browser/shell_browser_context.cc
+++ b/content/shell/browser/shell_browser_context.cc
@@ -179,30 +179,6 @@ net::URLRequestContextGetter*
return GetRequestContext();
}
-void ShellBrowserContext::RequestMidiSysExPermission(
- int render_process_id,
- int render_view_id,
- int bridge_id,
- const GURL& requesting_frame,
- bool user_gesture,
- const MidiSysExPermissionCallback& callback) {
- // Always reject requests for LayoutTests for now.
- // TODO(toyoshim): Make it programmable to improve test coverage.
- if (!CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDumpRenderTree)) {
- callback.Run(false);
- return;
- }
- callback.Run(true);
-}
-
-void ShellBrowserContext::CancelMidiSysExPermissionRequest(
- int render_process_id,
- int render_view_id,
- int bridge_id,
- const GURL& requesting_frame) {
-}
-
void ShellBrowserContext::RequestProtectedMediaIdentifierPermission(
int render_process_id,
int render_view_id,
« no previous file with comments | « content/shell/browser/shell_browser_context.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698