commit | bffb314690988732f19b1c6da313d8cd4eee86d0 | [log] [tgz] |
---|---|---|
author | Victor Hugo Vianna Silva <victorvianna@google.com> | Tue May 24 22:21:34 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 24 22:21:34 2022 |
tree | 042d5e62df3822fcf29f5ac1bcf860049e24c77a | |
parent | a20a590afc35d6b6a4908e5f9eb6a5ca718eb273 [diff] |
[send-tab-to-self/android] Hide entry point if promo&feature won't show Behavior changes are behind a flag disabled by default. This CL accomplishes 2 things. - Only show the STTS entry point if the user is allowed to use the feature or see one of the 2 promos. One example that doesn't fit this is a user with sign-in is disallowed by policy. - Reuse in Java the concept of EntryPointDisplayReason that's already being used to decide the UI state on Desktop/iOS. This is better code reuse. Bug: 1219434 Change-Id: Ied7e55c83b2257fdb31fb2638338d8bb2b20be13 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3642142 Reviewed-by: Theresa Sullivan <twellington@chromium.org> Reviewed-by: Sophey Dong <sophey@chromium.org> Auto-Submit: Victor Vianna <victorvianna@google.com> Commit-Queue: Theresa Sullivan <twellington@chromium.org> Cr-Commit-Position: refs/heads/main@{#1007095}
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.