Refactoring startup logic for upcoming FRE changes (non-Win 10).
Refactor goals (in descending order): 1. Consolidate the various places throughout startup where onboarding and other special-case tabs are added. 2. Reduce the massive number of branches, spaghetti calls, and seemingly-redundant checks into a manageable, linear flow. 3. Offload all policy logic (e.g., "Should we show the Welcome page?") for FRE to the more-appropriate first_run directory. 4. Where possible, consolidate code into testable units. BUG=618454, 248883, 517248 Review-Url: https://codereview.chromium.org/2164033002 Cr-Commit-Position: refs/heads/master@{#423636}
Showing
This diff is collapsed.
Please register or sign in to comment