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

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

Issue 185863003: [Media] Add user gesture reporting for API calls to midi and media streams. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: try 2 Created 6 years, 10 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 52acc0c0809f06fc6990de2410754feb35098613..eba6fbea7c88cfb4d8d6ee3f8b87ed2ed15a7b6c 100644
--- a/chrome/browser/profiles/profile_impl.cc
+++ b/chrome/browser/profiles/profile_impl.cc
@@ -911,6 +911,7 @@ void ProfileImpl::RequestMidiSysExPermission(
int render_view_id,
int bridge_id,
const GURL& requesting_frame,
+ bool user_gesture,
const MidiSysExPermissionCallback& callback) {
ChromeMidiPermissionContext* context =
ChromeMidiPermissionContextFactory::GetForProfile(this);
@@ -918,6 +919,7 @@ void ProfileImpl::RequestMidiSysExPermission(
render_view_id,
bridge_id,
requesting_frame,
+ user_gesture,
callback);
}

Powered by Google App Engine
This is Rietveld 408576698