Description[ios] Clean how WebUsageEnabled flag is restored for WebStateList.
The WebStateList deserialisation function DeserializeWebStateList takes
a factory function that can makes arbitrary change to the WebState after
it has been created.
Move the code setting the WebUsageEnabled flag to the factory function
instead of passing it as an extra flag to the deserialization function.
Rename TabModel ivar from webUsageEnabled_ to _webUsageEnabled
for consistency with the other ivars that use the new convention.
BUG=724282
Review-Url: https://codereview.chromium.org/2900643003
Cr-Commit-Position: refs/heads/master@{#473886}
Committed: https://chromium.googlesource.com/chromium/src/+/fd2aa6510e3b05e4ca3816a1b0e42ca59f3051dd
Patch Set 1 #
Messages
Total messages: 30 (25 generated)
|