Reworking DocumentState creation.
Prepares moving DocumentState creation outside of DidCreateDocumentLoader. It does a few things: - Separates the paths between using pending_navigation_params_ and not using them to build DocumentState. - Removes the dependencies on navigation_state in DidCreateDocumentLoader. Instead we use the pending_navigation_params_ directly. Also removes reliance on default constructed values of CommonNavigationParams and RequestNavigationParams members. - Moved as much things as possible out of the main class into utilities in the anonymous namespace. - Stripped UpdateNavigationState that is now only used to update same document navigation states. Bug: 789577 Change-Id: I18d12d24827c3289ef909d9253fe8bbf6ca5080f Reviewed-on: https://chromium-review.googlesource.com/1109831Reviewed-by:Camille Lamy <clamy@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Commit-Queue: Arthur Hemery <ahemery@chromium.org> Cr-Commit-Position: refs/heads/master@{#571090}
Showing
This diff is collapsed.
Please register or sign in to comment