diff options
Diffstat (limited to 'chrome/browser/profiles/profile_impl.cc')
-rw-r--r-- | chrome/browser/profiles/profile_impl.cc | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc index cef0f5c..c6185fd 100644 --- a/chrome/browser/profiles/profile_impl.cc +++ b/chrome/browser/profiles/profile_impl.cc @@ -996,18 +996,14 @@ void ProfileImpl::CancelMidiSysExPermissionRequest( void ProfileImpl::RequestProtectedMediaIdentifierPermission( int render_process_id, int render_view_id, - int bridge_id, - int group_id, - const GURL& requesting_frame, + const GURL& origin, const ProtectedMediaIdentifierPermissionCallback& callback) { #if defined(OS_ANDROID) ProtectedMediaIdentifierPermissionContext* context = ProtectedMediaIdentifierPermissionContextFactory::GetForProfile(this); context->RequestProtectedMediaIdentifierPermission(render_process_id, render_view_id, - bridge_id, - group_id, - requesting_frame, + origin, callback); #else NOTIMPLEMENTED(); @@ -1016,11 +1012,14 @@ void ProfileImpl::RequestProtectedMediaIdentifierPermission( } void ProfileImpl::CancelProtectedMediaIdentifierPermissionRequests( - int group_id) { + int render_process_id, + int render_view_id, + const GURL& origin) { #if defined(OS_ANDROID) ProtectedMediaIdentifierPermissionContext* context = ProtectedMediaIdentifierPermissionContextFactory::GetForProfile(this); - context->CancelProtectedMediaIdentifierPermissionRequests(group_id); + context->CancelProtectedMediaIdentifierPermissionRequests( + render_process_id, render_view_id, origin); #else NOTIMPLEMENTED(); #endif // defined(OS_ANDROID) |