• Giovanni Ortuño Urquidi's avatar
    desktop-pwas: Add extension creation subtask to installation task · 82800b5b
    Giovanni Ortuño Urquidi authored
    Introduces a BookmarkAppInstaller class whose job is to create
    a Bookmark App with certain characteristics e.g. name, start url,
    launch container, etc.
    
    The BookmarkAppInstaller class uses CrxInstaller to actually
    create and install the BookmarkApp. Currently the installer only
    takes a WebApplicationInfo but in the future it'll support more
    options, for example, if the app will be synced, what container
    will the app launch in, etc.
    
    Marks BookmarkAppInstallerTest as a friend in CrxInstaller so that
    we can create a fake CrxInstaller that fails to install the app.
    
    Bug: 864904
    Change-Id: I105d1e93160f2527ee6cb5c4951fab885a893392
    Reviewed-on: https://chromium-review.googlesource.com/1152642
    Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org>
    Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
    Reviewed-by: default avatarDominick Ng <dominickn@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#580471}
    82800b5b
crx_installer.h 18.5 KB