[PWA/App Migration] Allow calls to IsInRegistrar to use separate filter [chromium/src : main]

0 views
Skip to first unread message

Dibyajyoti Pal (Gerrit)

unread,
Jan 12, 2026, 8:10:14 PM (2 days ago) Jan 12
to Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Attention needed from Marijn Kruisselbrink

Dibyajyoti Pal voted and added 1 comment

Votes added by Dibyajyoti Pal

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Dibyajyoti Pal . resolved

PTAL at the design, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Marijn Kruisselbrink
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
Gerrit-Change-Number: 7457805
Gerrit-PatchSet: 3
Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-CC: Andrew Rayskiy <green...@google.com>
Gerrit-CC: Simon Hangl <sim...@google.com>
Gerrit-Attention: Marijn Kruisselbrink <m...@chromium.org>
Gerrit-Comment-Date: Tue, 13 Jan 2026 01:10:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Marijn Kruisselbrink (Gerrit)

unread,
Jan 13, 2026, 12:06:56 AM (yesterday) Jan 13
to Dibyajyoti Pal, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
Attention needed from Dibyajyoti Pal

Marijn Kruisselbrink added 1 comment

File chrome/browser/web_applications/web_app_filter.h
Line 74, Patchset 3 (Latest): static WebAppFilter IsAppDeemedToNotBeInRegistry();
Marijn Kruisselbrink . unresolved

I feel this naming goes against the general idea that these filters should be for specific capabilities rather than implementation details of the registry. I.e. I'd expect something like IsAppVisibleToUser (or IsAppKnownToUser) (which I guess would both be the reverse of this) to be perhaps a better thing to filter by?

Open in Gerrit

Related details

Attention is currently required from:
  • Dibyajyoti Pal
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
    Gerrit-Change-Number: 7457805
    Gerrit-PatchSet: 3
    Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
    Gerrit-CC: Andrew Rayskiy <green...@google.com>
    Gerrit-CC: Simon Hangl <sim...@google.com>
    Gerrit-Attention: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 05:06:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dibyajyoti Pal (Gerrit)

    unread,
    Jan 13, 2026, 11:56:42 AM (yesterday) Jan 13
    to Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
    Attention needed from Marijn Kruisselbrink

    Dibyajyoti Pal voted and added 1 comment

    Votes added by Dibyajyoti Pal

    Commit-Queue+1

    1 comment

    File chrome/browser/web_applications/web_app_filter.h
    Line 74, Patchset 3: static WebAppFilter IsAppDeemedToNotBeInRegistry();
    Marijn Kruisselbrink . unresolved

    I feel this naming goes against the general idea that these filters should be for specific capabilities rather than implementation details of the registry. I.e. I'd expect something like IsAppVisibleToUser (or IsAppKnownToUser) (which I guess would both be the reverse of this) to be perhaps a better thing to filter by?

    Dibyajyoti Pal

    Yeah, naming this function was a pain point for me too, how does `IsAppSurfaceableToUser()` sound? It's closer to `Visible`, and it also feels like it includes the nuances of the registry in it. Wdyt?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Marijn Kruisselbrink
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
    Gerrit-Change-Number: 7457805
    Gerrit-PatchSet: 4
    Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
    Gerrit-CC: Andrew Rayskiy <green...@google.com>
    Gerrit-CC: Simon Hangl <sim...@google.com>
    Gerrit-Attention: Marijn Kruisselbrink <m...@chromium.org>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 16:56:29 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Marijn Kruisselbrink <m...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dibyajyoti Pal (Gerrit)

    unread,
    Jan 13, 2026, 12:08:48 PM (yesterday) Jan 13
    to Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
    Attention needed from Marijn Kruisselbrink

    Dibyajyoti Pal added 1 comment

    File chrome/browser/web_applications/web_app_filter.h
    Line 74, Patchset 3: static WebAppFilter IsAppDeemedToNotBeInRegistry();
    Marijn Kruisselbrink . unresolved

    I feel this naming goes against the general idea that these filters should be for specific capabilities rather than implementation details of the registry. I.e. I'd expect something like IsAppVisibleToUser (or IsAppKnownToUser) (which I guess would both be the reverse of this) to be perhaps a better thing to filter by?

    Dibyajyoti Pal

    Yeah, naming this function was a pain point for me too, how does `IsAppSurfaceableToUser()` sound? It's closer to `Visible`, and it also feels like it includes the nuances of the registry in it. Wdyt?

    Dibyajyoti Pal

    This will be the "negation" of it, so `IsAppNotSurfaceableToUser()` is what I went with. PTAL!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Marijn Kruisselbrink
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
    Gerrit-Change-Number: 7457805
    Gerrit-PatchSet: 5
    Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
    Gerrit-CC: Andrew Rayskiy <green...@google.com>
    Gerrit-CC: Simon Hangl <sim...@google.com>
    Gerrit-Attention: Marijn Kruisselbrink <m...@chromium.org>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 17:08:35 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Dibyajyoti Pal <diby...@chromium.org>
    Comment-In-Reply-To: Marijn Kruisselbrink <m...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Dibyajyoti Pal (Gerrit)

    unread,
    Jan 13, 2026, 1:50:53 PM (yesterday) Jan 13
    to Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

    Dibyajyoti Pal added 1 comment

    File chrome/browser/apps/app_shim/web_app_shim_manager_delegate_mac.cc
    Line 180, Patchset 7 (Latest): return provider->registrar_unsafe().IsInstallState(
    Dibyajyoti Pal . resolved

    This is just a cleanup. Initially I thought the `profile` was a typo and we had to do `provider && ..` since we exit early if profile is nullptr, but we also have a `CHECK(provider)` before this line anyway which will crash, so checking for provider seemed redundant.

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
    Gerrit-Change-Number: 7457805
    Gerrit-PatchSet: 7
    Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
    Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
    Gerrit-CC: Andrew Rayskiy <green...@google.com>
    Gerrit-CC: Simon Hangl <sim...@google.com>
    Gerrit-Comment-Date: Tue, 13 Jan 2026 18:50:36 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Marijn Kruisselbrink (Gerrit)

    unread,
    5:29 PM (6 hours ago) 5:29 PM
    to Dibyajyoti Pal, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
    Attention needed from Dibyajyoti Pal

    Marijn Kruisselbrink voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dibyajyoti Pal
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
      Gerrit-Change-Number: 7457805
      Gerrit-PatchSet: 7
      Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
      Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
      Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
      Gerrit-CC: Andrew Rayskiy <green...@google.com>
      Gerrit-CC: Simon Hangl <sim...@google.com>
      Gerrit-Attention: Dibyajyoti Pal <diby...@chromium.org>
      Gerrit-Comment-Date: Wed, 14 Jan 2026 22:29:02 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Dibyajyoti Pal (Gerrit)

      unread,
      5:39 PM (6 hours ago) 5:39 PM
      to Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

      Dibyajyoti Pal added 2 comments

      Patchset-level comments
      File-level comment, Patchset 7 (Latest):
      Dibyajyoti Pal . resolved

      tluk@ PTAL at `c/b/ui/views/site_data`, thanks!

      File chrome/browser/web_applications/web_app_filter.h
      Line 74, Patchset 3: static WebAppFilter IsAppDeemedToNotBeInRegistry();
      Marijn Kruisselbrink . resolved

      I feel this naming goes against the general idea that these filters should be for specific capabilities rather than implementation details of the registry. I.e. I'd expect something like IsAppVisibleToUser (or IsAppKnownToUser) (which I guess would both be the reverse of this) to be perhaps a better thing to filter by?

      Dibyajyoti Pal

      Yeah, naming this function was a pain point for me too, how does `IsAppSurfaceableToUser()` sound? It's closer to `Visible`, and it also feels like it includes the nuances of the registry in it. Wdyt?

      Dibyajyoti Pal

      This will be the "negation" of it, so `IsAppNotSurfaceableToUser()` is what I went with. PTAL!

      Dibyajyoti Pal

      Acknowledged

      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
        Gerrit-Change-Number: 7457805
        Gerrit-PatchSet: 7
        Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
        Gerrit-CC: Andrew Rayskiy <green...@google.com>
        Gerrit-CC: Simon Hangl <sim...@google.com>
        Gerrit-Comment-Date: Wed, 14 Jan 2026 22:39:09 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Tom Lukaszewicz (Gerrit)

        unread,
        7:26 PM (4 hours ago) 7:26 PM
        to Dibyajyoti Pal, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org
        Attention needed from Dibyajyoti Pal

        Tom Lukaszewicz voted and added 1 comment

        Votes added by Tom Lukaszewicz

        Code-Review+1

        1 comment

        Patchset-level comments
        Tom Lukaszewicz . resolved

        lgtm

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Dibyajyoti Pal
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
        Gerrit-Change-Number: 7457805
        Gerrit-PatchSet: 7
        Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
        Gerrit-Reviewer: Tom Lukaszewicz <tl...@chromium.org>
        Gerrit-CC: Andrew Rayskiy <green...@google.com>
        Gerrit-CC: Simon Hangl <sim...@google.com>
        Gerrit-Attention: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Comment-Date: Thu, 15 Jan 2026 00:25:53 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Dibyajyoti Pal (Gerrit)

        unread,
        7:42 PM (4 hours ago) 7:42 PM
        to Tom Lukaszewicz, Marijn Kruisselbrink, Chromium LUCI CQ, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

        Dibyajyoti Pal voted Commit-Queue+2

        Commit-Queue+2
        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
        Gerrit-Change-Number: 7457805
        Gerrit-PatchSet: 7
        Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
        Gerrit-Reviewer: Tom Lukaszewicz <tl...@chromium.org>
        Gerrit-CC: Andrew Rayskiy <green...@google.com>
        Gerrit-CC: Simon Hangl <sim...@google.com>
        Gerrit-Comment-Date: Thu, 15 Jan 2026 00:41:49 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        open
        diffy

        Chromium LUCI CQ (Gerrit)

        unread,
        8:32 PM (3 hours ago) 8:32 PM
        to Dibyajyoti Pal, Tom Lukaszewicz, Marijn Kruisselbrink, chromium...@chromium.org, Andrew Rayskiy, Simon Hangl, chromium-a...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+watc...@chromium.org, giovax...@chromium.org, kuragin+web-ap...@chromium.org, loyso...@chromium.org, mac-r...@chromium.org, mgiuca...@chromium.org, philli...@chromium.org, rmcelra...@chromium.org, webap...@microsoft.com, zelin+watch-we...@chromium.org

        Chromium LUCI CQ submitted the change

        Change information

        Commit message:
        [PWA/App Migration] Allow calls to IsInRegistrar to use separate filter

        This CL updates the production callsites of IsInRegistrar to instead use
        a separate WebAppFilter, whose sole purpose is to identify if an app is
        considered "installed" for all purposes. This helps replace all
        callsites of IsInRegistrar on production, which eventually makes it
        easier to deprecate this call site in favor of GetInstallState(), or
        WebAppFilters.

        This change also allows all apps suggested from migration to be counted
        under that same filter, which ensures that all callsites that are
        checking whether this app is not in the registry are migrated to also
        include suggested apps in a single swoop.

        The only callsite that is not migrated is the WebAppIconManager, where
        this is used to overwrite the icons in the app's directory with pending
        ones. There is a chance for that use-case to be reused for migration.
        Bug: 465762217
        Include-Ci-Only-Tests: chromium.mac:mac15-x64-rel-tests|browser_tests
        Change-Id: I239862532d408664e742517a0f8e740fc70804e2
        Reviewed-by: Tom Lukaszewicz <tl...@chromium.org>
        Reviewed-by: Marijn Kruisselbrink <m...@chromium.org>
        Commit-Queue: Dibyajyoti Pal <diby...@chromium.org>
        Cr-Commit-Position: refs/heads/main@{#1569460}
        Files:
        • M chrome/browser/apps/app_shim/web_app_shim_manager_delegate_mac.cc
        • M chrome/browser/ui/views/site_data/related_app_row_view.cc
        • M chrome/browser/ui/web_applications/sub_apps_service_impl.cc
        • M chrome/browser/ui/web_applications/web_app_launch_process.cc
        • M chrome/browser/web_applications/ash/migrations/adobe_express_oem_to_default_migration.cc
        • M chrome/browser/web_applications/commands/apply_pending_manifest_update_command.cc
        • M chrome/browser/web_applications/commands/compute_app_size_command.cc
        • M chrome/browser/web_applications/commands/install_app_locally_command.cc
        • M chrome/browser/web_applications/commands/launch_web_app_command.cc
        • M chrome/browser/web_applications/commands/navigate_and_trigger_install_dialog_command.cc
        • M chrome/browser/web_applications/commands/set_user_display_mode_command.cc
        • M chrome/browser/web_applications/jobs/get_progressive_web_app_size_job.cc
        • M chrome/browser/web_applications/web_app_filter.cc
        • M chrome/browser/web_applications/web_app_filter.h
        • M chrome/browser/web_applications/web_app_registrar.cc
        • M chrome/browser/web_applications/web_app_sync_bridge.cc
        Change size: M
        Delta: 16 files changed, 52 insertions(+), 46 deletions(-)
        Branch: refs/heads/main
        Submit Requirements:
        • requirement satisfiedCode-Review: +1 by Marijn Kruisselbrink, +1 by Tom Lukaszewicz
        Open in Gerrit
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: merged
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I239862532d408664e742517a0f8e740fc70804e2
        Gerrit-Change-Number: 7457805
        Gerrit-PatchSet: 8
        Gerrit-Owner: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
        Gerrit-Reviewer: Dibyajyoti Pal <diby...@chromium.org>
        Gerrit-Reviewer: Marijn Kruisselbrink <m...@chromium.org>
        Gerrit-Reviewer: Tom Lukaszewicz <tl...@chromium.org>
        Gerrit-CC: Andrew Rayskiy <green...@google.com>
        open
        diffy
        satisfied_requirement
        Reply all
        Reply to author
        Forward
        0 new messages