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

Unified Diff: chrome/browser/profiles/profile_impl.cc

Issue 18647002: Web MIDI: add RequestMIDISysExPermission to BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android build Created 7 years, 5 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
Index: chrome/browser/profiles/profile_impl.cc
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
index 7123d167924bda02a563ed9083cfd82eb546a2c6..d209ce108a536ff44bb84fb6a026ce9e4f36853f 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -862,6 +862,16 @@ ProfileImpl::GetMediaRequestContextForStoragePartition(
.GetIsolatedMediaRequestContextGetter(partition_path, in_memory).get();
}
+void ProfileImpl::RequestMIDISysExPermission(
+ int render_process_id,
+ int render_view_id,
+ int client_id,
+ const GURL& requesting_frame,
+ const MIDISysExPermissionCallback& callback) {
+ // TODO(toyoshim): Implement.
+ callback.Run(render_process_id, render_view_id, client_id, false);
+}
+
content::ResourceContext* ProfileImpl::GetResourceContext() {
return io_data_.GetResourceContext();
}

Powered by Google App Engine
This is Rietveld 408576698