[Breadcrumbs] Improve WebStateActivatedAt logging
Use the following format: Switch [from Tab<id>] [to Tab<id> at 0] Old example: Activated Tab1 for user action Tab-1 at -1 New example of the same log: Switch to Tab1 at 0 #user-action Do not log events unless WebState activation was triggered by tab switch (the rest of activation reasons are covered by other WebStateListObserver callbacks). Bug: 1046231 Change-Id: I1c8657de6813bc62a719fed7add55211f9e6ffeb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2084151Reviewed-by:Mike Dougherty <michaeldo@chromium.org> Commit-Queue: Eugene But <eugenebut@chromium.org> Cr-Commit-Position: refs/heads/master@{#746919}
Showing
Please register or sign in to comment