[ModelTypeWorker] Clean up bookmarks-only code before refactoring
This CL prepares for a later refactoring by making semantically non-equivalent changes first. This CL: - guards bookmark specific code by model_type == BOOKMARKS; - moving one line around to have all bookmark specific changes after the generic ones. The follow-up CL will extract data type specific code into helper functions to separate them from the main flow. This prepares for adding further WALLET_DATA specific code into the worker. Bug: 881289 Change-Id: Ia197e92294b56ecbe49b8f28f4581b4a8bb581a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818482 Auto-Submit: Jan Krcal <jkrcal@chromium.org> Reviewed-by:Mikel Astiz <mastiz@chromium.org> Commit-Queue: Jan Krcal <jkrcal@chromium.org> Cr-Commit-Position: refs/heads/master@{#699666}
Showing
Please register or sign in to comment