|
|
Moved NavigationManagerImpl serialization out of CRWSessionController.
- Created CRWNavigationManagerStorage, which holds all the data that
is persisted for a single NavigationManager. It conforms to NSCoding and
is responsible for encoding sessions. A factory method for these objects
as added to WebState's public interface.
- Created NavigationManagerStorageBuilder, which contains functions
to convert between NavigationManagers and
CRWNavigationManagerStorage.
- Changed the relationship between WebStateImpls and
NavigationManagerImpls. Previously, WebStateImpls created empty
NavigationManagerImpls and injected deserialized CRWSessionControllers
into them. Now, WebStateImpls are passed serialized NavigationManagers
upon construction when restoring state.
- SessionWindowIOS's interface is updated to use NavigationManager
serializations rather than WebStateImpls, and SessionWindowIOS clients in
chrome// can use these to create WebStates using CreateParams.
BUG= 454984
Review-Url: https://codereview.chromium.org/1360993002
Cr-Commit-Position: refs/heads/master@{#446279}
Committed: https://chromium.googlesource.com/chromium/src/+/be48752128d7ec4a5bd6d980157deb60dbb29548
Total comments: 36
Total comments: 4
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+461 lines, -241 lines) |
Patch |
 |
M |
ios/chrome/browser/crash_report/crash_restore_helper.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_service.mm
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_service_unittest.mm
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_window.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_window.mm
|
View
|
1
2
3
4
5
6
|
3 chunks |
+54 lines, -89 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/sessions/session_window_unittest.mm
|
View
|
1
2
3
4
5
6
|
4 chunks |
+18 lines, -20 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab_model.mm
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+23 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ios/chrome/browser/tabs/tab_model_unittest.mm
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ios/web/BUILD.gn
|
View
|
1
2
3
4
5
6
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/web/navigation/crw_session_controller.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ios/web/navigation/crw_session_controller.mm
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+8 lines, -66 lines |
0 comments
|
Download
|
 |
M |
ios/web/navigation/navigation_manager_impl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ios/web/navigation/navigation_manager_impl.mm
|
View
|
1
2
|
2 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ios/web/navigation/navigation_manager_impl_unittest.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
A |
ios/web/navigation/navigation_manager_storage_builder.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ios/web/navigation/navigation_manager_storage_builder.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/web/net/crw_ssl_status_updater_unittest.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
ios/web/public/crw_navigation_manager_storage.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ios/web/public/crw_navigation_manager_storage.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/web/public/test/fakes/test_web_state.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ios/web/public/test/fakes/test_web_state.mm
|
View
|
1
2
3
4
5
6
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/web/public/web_state/web_state.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ios/web/web_state/web_state_impl.h
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ios/web/web_state/web_state_impl.mm
|
View
|
1
2
3
4
5
6
7
|
9 chunks |
+43 lines, -13 lines |
0 comments
|
Download
|
Total messages: 47 (27 generated)
|