Restart in the profile type that invoked it.
If the user started the browser in incognito mode and triggered a restart in regular mode, the browser was started in the incognito mode. Similarly, if the user started in the regular mode and triggered a restart in the incognito mode, the browser was started in the regular mode. The fix is to find the profile type that invoked the restart. Then use this type to modify old switch arguments which are used to create the new cmd line arguments for restart. Bug: 999085 Change-Id: Ide6e86aabb90b5a333ec10ea23e3add62a3d0e34 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1789582Reviewed-by:Vasilii Sukhanov <vasilii@chromium.org> Reviewed-by:
Ramin Halavati <rhalavati@chromium.org> Commit-Queue: Rohit Agarwal <roagarwal@chromium.org> Cr-Commit-Position: refs/heads/master@{#694717}
Showing
Please register or sign in to comment