• ftirelo's avatar
    Enforces order for settings reset · 52ad47d6
    ftirelo authored
    This fixes a weird interaction between to tasks involving settings reset:
     - Post-cleanup settings reset, which can happen at start up after the
       Chrome Cleanup Tool successfully completed (for example, it may have
       required a reboot);
     - Settings reset prompt, which will check if user settings have been
       hijacked and offer the user to reset it to its default values.
    
    In case both features are enabled, we should only check the latter after
    completing the former, so that we will not prompt users to reset their
    settings if they have already agreed on resetting them post-cleanup.
    
    BUG=690020
    
    Review-Url: https://codereview.chromium.org/2971183002
    Cr-Commit-Position: refs/heads/master@{#485274}
    52ad47d6
chrome_browser_main_win.cc 23.5 KB