forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend WebStateListObserver::ChangeReason with CLOSED and INSERTED flags
These flags are respectively passed from WillCloseWebStateAt and WebStateInsertedAt callbacks. Previously mentioned callbacks used CHANGE_REASON_USER_ACTION flag. Also rename CHANGE_REASON_USER_ACTION to CHANGE_REASON_ACTIVATE to better reflect the meaning of the flag. This change is needed by Breadcrumbs feature which attaches steps to reproduce to crashlogs. This way Breadcrumbs can log WebStateActivatedAt events only for user triggered activations (all other activations are not useful and only create noise in Breadcrumbs logs). This CL does not have any functional changes to other features and all clients of WebStateActivatedAt were updated to use new flags in addition to CHANGE_REASON_USER_ACTION. Bug: 1046231 Change-Id: Idc5685ee052e8f056200ea9e94b397a2909b4afa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2084152 Commit-Queue: Eugene But <eugenebut@chromium.org> Auto-Submit: Eugene But <eugenebut@chromium.org> Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#746536}
- Loading branch information
Eugene But
authored and
Commit Bot
committed
Mar 3, 2020
1 parent
4d148c1
commit eb7a7e2
Showing
8 changed files
with
37 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters