Allow duplicate infobar requests
There can be duplicate infobar requests. For example, the same EME video might issue multiple key requests, and that will cause several duplicate infobar requests. We need to remember these requests, and once the first request's permission is set, send notification for the other requests. When OnPermissionSet(), it is always called on the request has has_infobar() is true. As a result, we can remove those duplicate requests that doesn't have infobar. BUG=373641 Review URL: https://codereview.chromium.org/322203003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276630 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment