• Tanya Gupta's avatar
    Add additional requirements for displaying SendTab option on Android. · e5becf35
    Tanya Gupta authored
      Previously the only requirements for whether to display the option was that the feature
      was enabled and the user was not currently on an incognito web page.
    
      This CL adds the following requirements:
      - The sync type SEND_TAB_TO_SELF must be enabled.
      - The number of devices the user uses with sync must be >= 2.
      - The user must currently be on an HTTP or HTTPS page.
      - The user is not on an Android native page.
      - Active tab is not in inCognito mode
    
    Bug: 921767
    Change-Id: Ifab23067d34b97f5ef1026bf906a8b6fc656176f
    Reviewed-on: https://chromium-review.googlesource.com/c/1399446
    Commit-Queue: Tanya Gupta <tgupta@chromium.org>
    Reviewed-by: default avatarTommy Nyquist <nyquist@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#626931}
    e5becf35
java_sources.gni 212 KB