[ios] Refactor CrashRestoreHelper for multi-window and multi-profile
The code to deal with multi-window enabled/disabled was duplicated in CrashRestoreHelper where calling the multi-window enabled code with a session with an empty name was the same as calling code for single window. Refactor the code to avoid the duplication. Change the backup directory used for the saved session when restore is in progress as the single directory approach would not work with multi-profile. Bug: 1165798 Change-Id: Ifa6efe051999b77688a8a6ffdb8b9ed3b185e60e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2632677 Commit-Queue: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by:Stepan Khapugin <stkhapugin@chromium.org> Cr-Commit-Position: refs/heads/master@{#845174}
Showing
This diff is collapsed.
Please register or sign in to comment