• Greg Thompson's avatar
    Reland "Move DoPostUninstallOperations from BrowserDistribution into setup." · 00d80f6b
    Greg Thompson authored
    This is a reland of ea06ab2f.
    
    Original CL:
    > Showing the uninstall survey is a brand-specific behavior. This CL
    > introduces a new setup/brand_behaviors.h file that declares various
    > operations that vary by brand. DoPostUninstallOperations and
    > GetDistributionData (its helper function) both reside in brand-specific
    > implementation files that are selected at build time.
    >
    > This also allowed moving the uninstall metrics code from installer/util
    > into installer/setup where it really belongs.
    >
    > I have also taken the liberty to gently modernize some of the moved
    > code.
    >
    > BUG=879568
    >
    > Change-Id: I25d9c205d46ffb14454193fcc28ae5803502bf29
    > Reviewed-on: https://chromium-review.googlesource.com/1200862
    > Reviewed-by: Robert Sesek <rsesek@chromium.org>
    > Reviewed-by: Brian White <bcwhite@chromium.org>
    > Reviewed-by: Samuel Huang <huangs@chromium.org>
    > Commit-Queue: Greg Thompson <grt@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#588537}
    > (cherry picked from commit ea06ab2f)
    
    BUG=879568
    TBR=rsesek@chromium.org,bcwhite@chromium.org,huangs@chromium.org
    
    Change-Id: I089f50e1a24d447936bb034bddc9cba5ee0afa7f
    Reviewed-on: https://chromium-review.googlesource.com/1206431
    Commit-Queue: Greg Thompson <grt@chromium.org>
    Reviewed-by: default avatarGreg Thompson <grt@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#588817}
    00d80f6b
browser_distribution.h 2.12 KB