[ios] Refactor GeminiCapabilitiesManager to observe GeminiService [chromium/src : main]

0 views
Skip to first unread message

Joemer Ramos (Gerrit)

unread,
Jun 18, 2026, 12:48:25 AM (8 days ago) Jun 18
to Joemer Ramos, Adam Arcaro, Yasaman Sedaghat, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Adam Arcaro and Yasaman Sedaghat

Joemer Ramos voted and added 1 comment

Votes added by Joemer Ramos

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Joemer Ramos . resolved

What do you both think of this?

Open in Gerrit

Related details

Attention is currently required from:
  • Adam Arcaro
  • Yasaman Sedaghat
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
Gerrit-Change-Number: 7957429
Gerrit-PatchSet: 4
Gerrit-Owner: Joemer Ramos <joeme...@google.com>
Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
Gerrit-Attention: Adam Arcaro <ada...@google.com>
Gerrit-Comment-Date: Thu, 18 Jun 2026 04:48:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Adam Arcaro (Gerrit)

unread,
Jun 18, 2026, 8:26:50 AM (8 days ago) Jun 18
to Joemer Ramos, Yasaman Sedaghat, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Joemer Ramos and Yasaman Sedaghat

Adam Arcaro added 1 comment

Patchset-level comments
Adam Arcaro . unresolved

Thanks for the quick improvement here! I think this is a much better direction, keeping the responsibility to track eligibility in the GeminiService

However I looked through the `GeminiService` and don't think that `OnGeminiEligibilityChanged` is being called everywhere that it should. For example, I don't think sign outs are being included

Can you please look through it and add any calls you find to be missing? Thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Joemer Ramos
  • Yasaman Sedaghat
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
    Gerrit-Change-Number: 7957429
    Gerrit-PatchSet: 4
    Gerrit-Owner: Joemer Ramos <joeme...@google.com>
    Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
    Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
    Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-Attention: Joemer Ramos <joeme...@google.com>
    Gerrit-Comment-Date: Thu, 18 Jun 2026 12:26:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Joemer Ramos (Gerrit)

    unread,
    Jun 18, 2026, 10:37:30 AM (7 days ago) Jun 18
    to Joemer Ramos, Adam Arcaro, Yasaman Sedaghat, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Adam Arcaro and Yasaman Sedaghat

    Joemer Ramos added 1 comment

    Patchset-level comments
    Adam Arcaro . unresolved

    Thanks for the quick improvement here! I think this is a much better direction, keeping the responsibility to track eligibility in the GeminiService

    However I looked through the `GeminiService` and don't think that `OnGeminiEligibilityChanged` is being called everywhere that it should. For example, I don't think sign outs are being included

    Can you please look through it and add any calls you find to be missing? Thanks!

    Joemer Ramos

    Isn't sign outs covered by [OnPrimaryAccountChanged](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/intelligence/bwg/model/gemini_service_impl.mm;l=127)? And in general it looks like `CheckGeminiEnterpriseEligibility();` is called in a bunch of good places to properly track eligibility which eventually call `OnGeminiEligibilityChanged`

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Arcaro
    • Yasaman Sedaghat
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
    Gerrit-Change-Number: 7957429
    Gerrit-PatchSet: 4
    Gerrit-Owner: Joemer Ramos <joeme...@google.com>
    Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
    Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
    Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-Attention: Adam Arcaro <ada...@google.com>
    Gerrit-Comment-Date: Thu, 18 Jun 2026 14:37:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Adam Arcaro <ada...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Yasaman Sedaghat (Gerrit)

    unread,
    Jun 18, 2026, 1:45:14 PM (7 days ago) Jun 18
    to Joemer Ramos, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Adam Arcaro and Joemer Ramos

    Yasaman Sedaghat voted and added 2 comments

    Votes added by Yasaman Sedaghat

    Code-Review+1

    2 comments

    Patchset-level comments
    Yasaman Sedaghat . unresolved

    Please wait for Adam's lgtm as well, thanks!

    File ios/chrome/browser/intelligence/bwg/model/gemini_capabilities_manager_impl.mm
    Line 93, Patchset 4 (Latest): NSUserDefaults* shared_defaults,
    Yasaman Sedaghat . unresolved

    should shared_defaults and capabilities be private variables instead?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Arcaro
    • Joemer Ramos
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
      Gerrit-Change-Number: 7957429
      Gerrit-PatchSet: 4
      Gerrit-Owner: Joemer Ramos <joeme...@google.com>
      Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
      Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
      Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
      Gerrit-Attention: Joemer Ramos <joeme...@google.com>
      Gerrit-Attention: Adam Arcaro <ada...@google.com>
      Gerrit-Comment-Date: Thu, 18 Jun 2026 17:45:00 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Joemer Ramos (Gerrit)

      unread,
      Jun 18, 2026, 1:52:36 PM (7 days ago) Jun 18
      to Joemer Ramos, Yasaman Sedaghat, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Adam Arcaro

      Joemer Ramos added 2 comments

      Patchset-level comments
      Yasaman Sedaghat . resolved

      Please wait for Adam's lgtm as well, thanks!

      Joemer Ramos

      Sg thanks!

      File ios/chrome/browser/intelligence/bwg/model/gemini_capabilities_manager_impl.mm
      Line 93, Patchset 4 (Latest): NSUserDefaults* shared_defaults,
      Yasaman Sedaghat . resolved

      should shared_defaults and capabilities be private variables instead?

      Joemer Ramos

      I'd prefer to keep them as parameters here. Since shared_defaults can be modified across 1P apps/extensions, fetching and passing the most up-to-date objects during the function's execution lifecycle ensures we don't accidentally rely on a cached or stale local state. It also keeps this utility method pure and decoupled, making it much easier to unit test.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Adam Arcaro
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
      Gerrit-Change-Number: 7957429
      Gerrit-PatchSet: 4
      Gerrit-Owner: Joemer Ramos <joeme...@google.com>
      Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
      Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
      Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
      Gerrit-Attention: Adam Arcaro <ada...@google.com>
      Gerrit-Comment-Date: Thu, 18 Jun 2026 17:52:25 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Yasaman Sedaghat <yasa...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Joemer Ramos (Gerrit)

      unread,
      Jun 19, 2026, 12:43:57 AM (7 days ago) Jun 19
      to Joemer Ramos, Yasaman Sedaghat, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Adam Arcaro

      Joemer Ramos added 1 comment

      Patchset-level comments
      Adam Arcaro . resolved

      Thanks for the quick improvement here! I think this is a much better direction, keeping the responsibility to track eligibility in the GeminiService

      However I looked through the `GeminiService` and don't think that `OnGeminiEligibilityChanged` is being called everywhere that it should. For example, I don't think sign outs are being included

      Can you please look through it and add any calls you find to be missing? Thanks!

      Joemer Ramos

      Isn't sign outs covered by [OnPrimaryAccountChanged](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/intelligence/bwg/model/gemini_service_impl.mm;l=127)? And in general it looks like `CheckGeminiEnterpriseEligibility();` is called in a bunch of good places to properly track eligibility which eventually call `OnGeminiEligibilityChanged`

      Joemer Ramos

      I don't think we need to add any OnGeminiEligibilityChanged calls, feel free to reopen if you disagree.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Adam Arcaro
      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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
        Gerrit-Change-Number: 7957429
        Gerrit-PatchSet: 4
        Gerrit-Owner: Joemer Ramos <joeme...@google.com>
        Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
        Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
        Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
        Gerrit-Attention: Adam Arcaro <ada...@google.com>
        Gerrit-Comment-Date: Fri, 19 Jun 2026 04:43:47 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Joemer Ramos <joeme...@google.com>
        Comment-In-Reply-To: Adam Arcaro <ada...@google.com>
        satisfied_requirement
        open
        diffy

        Adam Arcaro (Gerrit)

        unread,
        Jun 19, 2026, 10:09:26 AM (6 days ago) Jun 19
        to Joemer Ramos, Yasaman Sedaghat, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
        Attention needed from Joemer Ramos

        Adam Arcaro added 1 comment

        Patchset-level comments
        Adam Arcaro . unresolved

        Thanks for the quick improvement here! I think this is a much better direction, keeping the responsibility to track eligibility in the GeminiService

        However I looked through the `GeminiService` and don't think that `OnGeminiEligibilityChanged` is being called everywhere that it should. For example, I don't think sign outs are being included

        Can you please look through it and add any calls you find to be missing? Thanks!

        Joemer Ramos

        Isn't sign outs covered by [OnPrimaryAccountChanged](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/intelligence/bwg/model/gemini_service_impl.mm;l=127)? And in general it looks like `CheckGeminiEnterpriseEligibility();` is called in a bunch of good places to properly track eligibility which eventually call `OnGeminiEligibilityChanged`

        Joemer Ramos

        I don't think we need to add any OnGeminiEligibilityChanged calls, feel free to reopen if you disagree.

        Adam Arcaro

        Technically the eligibility has changed prior to resolving `CheckGeminiEnterpriseEligibility`. This is an async call, so if it takes a long time to respond, the user will retain their previous eligibility even if their new account is already deemed ineligible

        Let me know if you think this makes sense to consider

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Joemer Ramos
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
          Gerrit-Change-Number: 7957429
          Gerrit-PatchSet: 4
          Gerrit-Owner: Joemer Ramos <joeme...@google.com>
          Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
          Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
          Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
          Gerrit-Attention: Joemer Ramos <joeme...@google.com>
          Gerrit-Comment-Date: Fri, 19 Jun 2026 14:09:15 +0000
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Joemer Ramos (Gerrit)

          unread,
          Jun 22, 2026, 4:45:31 PM (3 days ago) Jun 22
          to Joemer Ramos, android-bu...@system.gserviceaccount.com, Yasaman Sedaghat, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, christia...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
          Attention needed from Adam Arcaro and Yasaman Sedaghat

          Joemer Ramos added 1 comment

          Patchset-level comments
          File-level comment, Patchset 4:
          Adam Arcaro . resolved

          Thanks for the quick improvement here! I think this is a much better direction, keeping the responsibility to track eligibility in the GeminiService

          However I looked through the `GeminiService` and don't think that `OnGeminiEligibilityChanged` is being called everywhere that it should. For example, I don't think sign outs are being included

          Can you please look through it and add any calls you find to be missing? Thanks!

          Joemer Ramos

          Isn't sign outs covered by [OnPrimaryAccountChanged](https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/intelligence/bwg/model/gemini_service_impl.mm;l=127)? And in general it looks like `CheckGeminiEnterpriseEligibility();` is called in a bunch of good places to properly track eligibility which eventually call `OnGeminiEligibilityChanged`

          Joemer Ramos

          I don't think we need to add any OnGeminiEligibilityChanged calls, feel free to reopen if you disagree.

          Adam Arcaro

          Technically the eligibility has changed prior to resolving `CheckGeminiEnterpriseEligibility`. This is an async call, so if it takes a long time to respond, the user will retain their previous eligibility even if their new account is already deemed ineligible

          Let me know if you think this makes sense to consider

          Joemer Ramos

          Yeah that makes sense to consider the sign out case and in general have an updated eligibility while waiting for the async call to respond. I've added an additional check for signed out and enterprise users, let me know if it makes sense.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Adam Arcaro
          • Yasaman Sedaghat
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
            Gerrit-Change-Number: 7957429
            Gerrit-PatchSet: 9
            Gerrit-Owner: Joemer Ramos <joeme...@google.com>
            Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
            Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
            Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-Attention: Adam Arcaro <ada...@google.com>
            Gerrit-Comment-Date: Mon, 22 Jun 2026 20:45:15 +0000
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Joemer Ramos (Gerrit)

            unread,
            Jun 22, 2026, 4:46:18 PM (3 days ago) Jun 22
            to Joemer Ramos, android-bu...@system.gserviceaccount.com, Yasaman Sedaghat, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, christia...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Adam Arcaro and Yasaman Sedaghat

            Joemer Ramos added 1 comment

            Patchset-level comments
            File-level comment, Patchset 9 (Latest):
            Joemer Ramos . resolved

            @yasa...@google.com can you verify that this extra Gemini checks are good? I'm confident about the signed out user check, but not sure about the other ones. But seems like they're generally good for keeping Gemini eligibility updated with sign in status

            Gerrit-Comment-Date: Mon, 22 Jun 2026 20:46:09 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Joemer Ramos (Gerrit)

            unread,
            Jun 24, 2026, 12:44:03 PM (yesterday) Jun 24
            to Joemer Ramos, android-bu...@system.gserviceaccount.com, Yasaman Sedaghat, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, christia...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Adam Arcaro and Yasaman Sedaghat

            Joemer Ramos voted Auto-Submit+1

            Auto-Submit+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Adam Arcaro
            • Yasaman Sedaghat
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
            Gerrit-Change-Number: 7957429
            Gerrit-PatchSet: 10
            Gerrit-Owner: Joemer Ramos <joeme...@google.com>
            Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
            Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
            Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-Attention: Adam Arcaro <ada...@google.com>
            Gerrit-Comment-Date: Wed, 24 Jun 2026 16:43:44 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Joemer Ramos (Gerrit)

            unread,
            Jun 24, 2026, 12:53:45 PM (yesterday) Jun 24
            to Joemer Ramos, android-bu...@system.gserviceaccount.com, Yasaman Sedaghat, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, christia...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Adam Arcaro and Yasaman Sedaghat

            Joemer Ramos voted Commit-Queue+1

            Commit-Queue+1
            Gerrit-Comment-Date: Wed, 24 Jun 2026 16:53:37 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Yasaman Sedaghat (Gerrit)

            unread,
            10:38 AM (11 hours ago) 10:38 AM
            to Joemer Ramos, android-bu...@system.gserviceaccount.com, Adam Arcaro, Chromium LUCI CQ, chromium...@chromium.org, christia...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Adam Arcaro and Joemer Ramos

            Yasaman Sedaghat added 1 comment

            File ios/chrome/browser/intelligence/bwg/model/gemini_service_impl.mm
            Line 155, Patchset 10 (Latest):void GeminiServiceImpl::OnExtendedAccountInfoUpdated(
            Yasaman Sedaghat . unresolved

            in all of these new methods, shouldn't you be calling CheckGeminiEnterpriseEligibility() which will eventually call the observers if the eligibility changes (similar to OnRefreshTokenUpdatedForAccount)?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Adam Arcaro
            • Joemer Ramos
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement 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: I024f274b3d72e2b8ab17e18f18f46d33712c549d
              Gerrit-Change-Number: 7957429
              Gerrit-PatchSet: 10
              Gerrit-Owner: Joemer Ramos <joeme...@google.com>
              Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
              Gerrit-Reviewer: Joemer Ramos <joeme...@google.com>
              Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
              Gerrit-Attention: Joemer Ramos <joeme...@google.com>
              Gerrit-Attention: Adam Arcaro <ada...@google.com>
              Gerrit-Comment-Date: Thu, 25 Jun 2026 14:38:06 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy
              Reply all
              Reply to author
              Forward
              0 new messages