Revert "media: Trigger Infobar on Mac ARM on EME query failure"
This reverts commit a98a8fa4. Reason for revert: causing test failure Original change's description: > media: Trigger Infobar on Mac ARM on EME query failure > > CDM on Mac ARM is not ready yet. When requestMediaKeySystemAccess() > fails on Mac ARM, we reject the promise with "Unsupported platform" and > trigger an infobar to notify user. The infobar will be triggered at most > once per render process. > > Since the infobar can only be triggered in the browser process, a new > mojo service CdmInfobarService is added. Note that even though there > already exists KeySystemSupport service, which is also implemented in > the browser process, we cannot trigger the infobar there, because the > infobar requires a WebContents context, while the KeySystemSupport > service is bound to a render process instead of a render frame. > > Change-Id: Ia85a1f2b097b0c2d26d12cc3e9363c34a25691a3 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2404716 > Reviewed-by: Daniel Cheng <dcheng@chromium.org> > Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> > Reviewed-by: John Rummell <jrummell@chromium.org> > Commit-Queue: Xiaohan Wang <xhwang@chromium.org> > Cr-Commit-Position: refs/heads/master@{#807631} TBR=ellyjones@chromium.org,dcheng@chromium.org,xhwang@chromium.org,jrummell@chromium.org Change-Id: Ia3e06b8685f70b3e3e000df2bbf24054bcc97ada No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2414759Reviewed-by:Xiaohan Wang <xhwang@chromium.org> Commit-Queue: Xiaohan Wang <xhwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#807649}
Showing
Please register or sign in to comment