[go: nahoru, domu]

[ios] Move page load count to use WebStateObserver::DidStartNavigation.

Currently page load count is done via the call to
StabilityMetricsHelper::LogLoadStarted in WebStateDidStartLoading.
DidStartLoading was never an ideal location, and the move to
WKBasedNavigationManager introduces even more complexity.

Instead, move this call to WebStateDidStartNavigation.

Rollout will start behind a feature flag that will be paired with the
SlimNav experiment and control groups.

Bug: 786547
Change-Id: I1100bd0cca68fe511b992c1df67c449a6739fc4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1632570
Reviewed-by: Eugene But <eugenebut@chromium.org>
Reviewed-by: Rohit Rao <rohitrao@chromium.org>
Reviewed-by: Peter Lee <pkl@chromium.org>
Commit-Queue: Justin Cohen <justincohen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#664016}
4 files changed