• Sam McNally's avatar
    Notify the user when zip pack requests fail as part of launching. · e11acd79
    Sam McNally authored
    If a file is not openable while preparing the launch data for a file
    handler, the file handling app is launched without any file entries and
    without the handler ID. With DriveFS, hosted docs will fail in this
    fashion; when attempting to zip files including a hosted doc, this
    causes the zip archiver to fail silently since it's launched without any
    information.
    
    Pass the handler ID to the app when launching without any entries so it
    can identify what the user was attempting to do. In the zip archiver,
    display the same notification that would be displayed if the zip pack
    operation later failed when such launch events are received.
    
    Bug: 892595
    Change-Id: I3d2e145a8c6e955b03891063813c0624b692d943
    Reviewed-on: https://chromium-review.googlesource.com/c/1303320Reviewed-by: default avatarAnand Mistry <amistry@chromium.org>
    Reviewed-by: default avatarBen Wells <benwells@chromium.org>
    Commit-Queue: Sam McNally <sammc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#604843}
    e11acd79
launcher.cc 18.6 KB