Add ability to exclude page state in ContentSerializedNavigationBuilder
Serialization of page state can be a cpu intensive process as the serializer must recursively traverse a tree of iframes. One of the common cases for serializing navigation entries is Sync, which does not actually use the encoded page state information. This CL adds a new SerializationOptions param and support for using it to exclude the page state when serializing a NavigationEntry, allowing Sync's tab delegate to bypass encoding the page state. Bug: 738187 Change-Id: Ib758db83e3f688c7016044e16a9f2818062e1da0 Reviewed-on: https://chromium-review.googlesource.com/560696 Commit-Queue: Nicolas Zea <zea@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#486125}
Showing
Please register or sign in to comment