commit | ca82576a2716429d5c311c673e36cb7bdf65e360 | [log] [tgz] |
---|---|---|
author | Tina Wang <tinazwang@google.com> | Wed Jul 13 23:37:21 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 13 23:37:21 2022 |
tree | eb65396c8c050cfbe35b69270fa4d8215d6e20e6 | |
parent | f02992ffd3d9d7ca699a48022be4b7f3993e7589 [diff] |
[FollowIPH] Don't show Follow IPH in incognito mode Crash happens when a follow recommended page loaded in incognito mode and we try to show an follow IPH, because the MetricsRecorder can't be generated in an incognito browser. To fix that now, we don't show the follow IPH in incognito mode. WIP: checking more conditions before showing a follow IPH, and move the checking logic to follow_iph_presenter_ so we won't need to inject any pointer get from BrowserState in the future. Bug: 1344217 Change-Id: Iec90d826415df353d996dfa455b9c17685139379 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3758369 Reviewed-by: Sergio Collazos <sczs@chromium.org> Commit-Queue: Tina Wang <tinazwang@chromium.org> Cr-Commit-Position: refs/heads/main@{#1023996}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.