• Tommy Li's avatar
    [flash] Restore the deprecated plugin placeholder for M88+ · 901c1335
    Tommy Li authored
    Since the actual Flash binary has been removed from Chrome, our old code
    path to display the Flash is deprecated placeholder no longer works.
    
    This CL adds an alternate code path that directly checks the requested
    MIME type instead of looking for the plugin metadata (which is no
    loaded since the plugin is missing).
    
    This CL doesn't restore the infobar to show that Flash is deprecated
    for M88+. That's working as intended.
    
    TEST=I manually tested it on Linux with the official build.
    
    Bug: 1069833
    Change-Id: I4c1758c5c7d4ed2026c59ae1407689468d85c1bd
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2532862Reviewed-by: default avatarWill Harris <wfh@chromium.org>
    Commit-Queue: Tommy Li <tommycli@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#826465}
    901c1335
non_loadable_plugin_placeholder.cc 3.23 KB