• Penny MacNeil's avatar
    [chrome_elf, third-party block support] Pass file path in registry. · ea1974d4
    Penny MacNeil authored
    Due to rare case of install_static::GetUserDataDir() path expansion,
    this API cannot be used inside DllMain().  The full, expanded path to
    the packed blacklist file will be dropped into install_static::GetRegistryPath(),
    in the kThirdPartyRegKeyName subkey, in the kBlFilePathRegValue REG_SZ value.
    This has no other impact on existing functionality.
    
    - This change includes comments, constants, and tests.
    
    - LogLoadAttempt() will now include the section path for any 'blocked' logs
    as well.  Friendly reminder that log.AddEntry() will still not add duplicate
    'blocked' logs, to protect against spammy logging.
    
    - Removed old bit of uninstaller touching old blacklist.
    
    Test: chrome_elf_unittests.exe, ThirdParty*
    Bug: 769590
    Change-Id: Id9ada49215aa110db9fb72a4712da9d3fb7ccf31
    Reviewed-on: https://chromium-review.googlesource.com/1109600Reviewed-by: default avatarRobert Shield <robertshield@chromium.org>
    Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
    Commit-Queue: Penny MacNeil <pennymac@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#570849}
    ea1974d4
uninstall.cc 46 KB