|
[ios] Allow having multiple session windows in a session.
With the new architecture, there can be multiple WebStateList per
ChromeBrowserState (due to BrowserList owning multiple Browsers).
Introduce SessionIOS that store the information about a session
(e.g. a BrowserList) with a list of SessionWindowIOS objects and
change SessionServiceIOS to use SessionIOS in its API.
Add support for loading legacy saved session with a single root
object of type SessionWindowIOS by creating a SessionIOS on the
fly.
BUG= 710848
Review-Url: https://codereview.chromium.org/2811593004
Cr-Commit-Position: refs/heads/master@{#465623}
Committed: https://chromium.googlesource.com/chromium/src/+/dcc6c6ec0d3999a98c28a0124ef6ca232ef907a5
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+234 lines, -119 lines) |
Patch |
 |
M |
ios/chrome/browser/crash_report/crash_restore_helper.mm
|
View
|
1
2
|
3 chunks |
+16 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/BUILD.gn
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ios/chrome/browser/sessions/session_ios.h
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ios/chrome/browser/sessions/session_ios.mm
|
View
|
1
2
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_service_ios.h
|
View
|
1
2
3
|
2 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_service_ios.mm
|
View
|
1
2
|
6 chunks |
+32 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_service_ios_unittest.mm
|
View
|
1
2
3
4
|
8 chunks |
+59 lines, -50 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_window_ios.h
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/test_session_service.mm
|
View
|
1
2
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab_model.mm
|
View
|
1
2
3
4
|
5 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab_model_unittest.mm
|
View
|
1
2
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/test/perf_test_with_bvc_ios.mm
|
View
|
1
2
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/ui/main/browser_view_wrangler.mm
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -2 lines |
0 comments
|
Download
|
Total messages: 30 (21 generated)
|