Refactor how committing prefs occurs in the updater.
Updating and committing prefs must happen on the same sequence while the thread pool is still active. This CL introduces an updater::App::Uninitialize virtual to provide a call site for committing prefs and possibly other code that needs to run when the updater process is shutting down. BUG: 1061730 Change-Id: I0c293ced0e5c3ce66f921d1d65062de89f78bfc8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2103755Reviewed-by:Joshua Pawlicki <waffles@chromium.org> Commit-Queue: Sorin Jianu <sorin@chromium.org> Cr-Commit-Position: refs/heads/master@{#750955}
Showing
Please register or sign in to comment