DescriptionReland v3 of Session refactor
Original CL review: https://codereview.chromium.org/2494533002
This relands that CL, with a couple key fixes:
- Detect if a previously synced tab no longer exists, and ignore it if so
- Simplifies the logic to add tab ids to a window to avoid possibly out-of-bounds
- Adds checking for invalid tab node ids
- Simplifies the logic that either calls AssociateTab or AssociateRestoredPlaceholderTab
- Adds some CHECKs to help detect remaining issues.
BUG=639009, 673618
Review-Url: https://codereview.chromium.org/2651583006
Cr-Commit-Position: refs/heads/master@{#446405}
Committed: https://chromium.googlesource.com/chromium/src/+/0b0a0a13587273010f58db836c86c0d4748e9e5b
Patch Set 1 #Patch Set 2 : Add fixes #Patch Set 3 : Self review #
Total comments: 37
Patch Set 4 : Address comments #Patch Set 5 : Address Patrick comments #Messages
Total messages: 24 (14 generated)
|