Helios Best effort page context generation if page isn't loading [chromium/src : main]

0 views
Skip to first unread message

Adam Arcaro (Gerrit)

unread,
Feb 5, 2026, 2:47:34 PM (5 days ago) Feb 5
to Yasaman Sedaghat, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, grt+...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Nicolas MacBeth and Yasaman Sedaghat

Adam Arcaro voted and added 1 comment

Votes added by Adam Arcaro

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 17 (Latest):
Adam Arcaro . resolved

This is great thank you!

Open in Gerrit

Related details

Attention is currently required from:
  • Nicolas MacBeth
  • Yasaman Sedaghat
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not 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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
Gerrit-Change-Number: 7514256
Gerrit-PatchSet: 17
Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: Menard, Alexis <alexis...@intel.com>
Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
Gerrit-Comment-Date: Thu, 05 Feb 2026 19:47:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Nicolas MacBeth (Gerrit)

unread,
Feb 5, 2026, 4:34:15 PM (5 days ago) Feb 5
to Yasaman Sedaghat, Chromium LUCI CQ, Adam Arcaro, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, grt+...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Yasaman Sedaghat

Nicolas MacBeth added 9 comments

Patchset-level comments
Nicolas MacBeth . resolved

hey! PTAL at a few comments, thanks!

File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.h
Line 318, Patchset 17 (Latest): // Whether to fetch full page context.
bool get_full_page_context_ = true;
Nicolas MacBeth . unresolved

as discussed offline, all the non-test calls to this seem to be true. Should we clean it up from the function and here instead of doing this? I feel like this could be prone to bugs if another caller modifies it in the future before the originally setup extraction. WDYT?

Line 52, Patchset 17 (Latest): void ForcePageContextGeneration();
Nicolas MacBeth . unresolved

the page loaded callback is reset in PageLoaded. should we document here that this will do nothing if the page has already loaded?

File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.mm
Line 606, Patchset 17 (Latest): setShouldGetAnnotatedPageContent:get_full_page_context_];
Nicolas MacBeth . unresolved

with my comment above, these would simply be passed `YES` imo

File ios/chrome/browser/intelligence/bwg/model/gemini_browser_agent.h
Line 279, Patchset 17 (Latest): // Timer to force page context generation if it takes too long.
Nicolas MacBeth . unresolved

nit here and a few of the comments in this CL: "... if page load takes too long". I think it's more clear otherwise it feels like it's about page context itself, which makes it confusing because why would we try again in that case.

Line 178, Patchset 17 (Latest): void OnPageContextTimeout();
Nicolas MacBeth . unresolved

this feels misleading, as if page context generation was already started. what about something closer to: `TriggerBestEffortContextGeneration` or `OnPageLoadWaitTimeout`?

File ios/chrome/browser/intelligence/bwg/model/gemini_browser_agent.mm
Line 97, Patchset 17 (Latest):} // namespace
Nicolas MacBeth . unresolved

super nit: newline here, and page context -> page load naming?

Line 313, Patchset 17 (Latest): page_context_timeout_timer_.Start(FROM_HERE, kFullPageContextTimeout, this,
Nicolas MacBeth . unresolved

we should pass a weak pointer here (see: `weak_factory_.GetWeakPtr()` above to prevent a crash and UAF)

Line 831, Patchset 17 (Latest): browser_->GetWebStateList()->GetActiveWebState();
Nicolas MacBeth . unresolved

we've had crashes where there is no active webstate. can we check for that first? (null check)

Open in Gerrit

Related details

Attention is currently required from:
  • Yasaman Sedaghat
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not 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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
    Gerrit-Change-Number: 7514256
    Gerrit-PatchSet: 17
    Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
    Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
    Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-Comment-Date: Thu, 05 Feb 2026 21:34:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Nicolas MacBeth (Gerrit)

    unread,
    Feb 5, 2026, 4:46:42 PM (5 days ago) Feb 5
    to Yasaman Sedaghat, Chromium LUCI CQ, Adam Arcaro, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, grt+...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Yasaman Sedaghat

    Nicolas MacBeth added 1 comment

    File ios/chrome/browser/intelligence/bwg/model/gemini_browser_agent.mm
    Line 311, Patchset 17 (Latest): // Start the timeout timer to force page context generation if it takes too
    Nicolas MacBeth . unresolved

    should this be in the `if(IsGeminiImmediateOverlayEnabled())`?

    also the `kStartupTimeWithFREHistogram` histogram in this current state would be logged twice, no?

    Gerrit-Comment-Date: Thu, 05 Feb 2026 21:46:36 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Greg Thompson (Gerrit)

    unread,
    Feb 6, 2026, 2:33:43 AM (4 days ago) Feb 6
    to Yasaman Sedaghat, grt+...@chromium.org, Chromium LUCI CQ, Adam Arcaro, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Yasaman Sedaghat

    Greg Thompson removed grt+...@chromium.org from this change

    Deleted Reviewers:
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Yasaman Sedaghat
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not 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: deleteReviewer
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Yasaman Sedaghat (Gerrit)

    unread,
    Feb 9, 2026, 10:14:17 AM (yesterday) Feb 9
    to Chromium LUCI CQ, Adam Arcaro, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Nicolas MacBeth

    Yasaman Sedaghat added 2 comments

    File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.h
    Line 318, Patchset 17 (Latest): // Whether to fetch full page context.
    bool get_full_page_context_ = true;
    Nicolas MacBeth . unresolved

    as discussed offline, all the non-test calls to this seem to be true. Should we clean it up from the function and here instead of doing this? I feel like this could be prone to bugs if another caller modifies it in the future before the originally setup extraction. WDYT?

    Yasaman Sedaghat

    @tarekm...@google.com, @ada...@google.com since you are more familiar with this field, do we still want to keep it around or just remove it and default to full context?

    Line 52, Patchset 17 (Latest): void ForcePageContextGeneration();
    Nicolas MacBeth . resolved

    the page loaded callback is reset in PageLoaded. should we document here that this will do nothing if the page has already loaded?

    Yasaman Sedaghat

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Nicolas MacBeth
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not 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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
    Gerrit-Change-Number: 7514256
    Gerrit-PatchSet: 17
    Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
    Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
    Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
    Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: Menard, Alexis <alexis...@intel.com>
    Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
    Gerrit-Comment-Date: Mon, 09 Feb 2026 15:14:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Nicolas MacBeth <nicolas...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Yasaman Sedaghat (Gerrit)

    unread,
    Feb 9, 2026, 10:59:54 AM (yesterday) Feb 9
    to Chromium LUCI CQ, Adam Arcaro, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Adam Arcaro and Nicolas MacBeth

    Yasaman Sedaghat added 7 comments

    File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.mm
    Line 606, Patchset 17: setShouldGetAnnotatedPageContent:get_full_page_context_];
    Nicolas MacBeth . resolved

    with my comment above, these would simply be passed `YES` imo

    Yasaman Sedaghat

    I'll wait for Tarek to chime in as we chatted.

    File ios/chrome/browser/intelligence/bwg/model/gemini_browser_agent.h
    Line 279, Patchset 17: // Timer to force page context generation if it takes too long.
    Nicolas MacBeth . resolved

    nit here and a few of the comments in this CL: "... if page load takes too long". I think it's more clear otherwise it feels like it's about page context itself, which makes it confusing because why would we try again in that case.

    Yasaman Sedaghat

    Done

    Line 178, Patchset 17: void OnPageContextTimeout();
    Nicolas MacBeth . resolved

    this feels misleading, as if page context generation was already started. what about something closer to: `TriggerBestEffortContextGeneration` or `OnPageLoadWaitTimeout`?

    Yasaman Sedaghat

    Done

    File ios/chrome/browser/intelligence/bwg/model/gemini_browser_agent.mm
    Line 97, Patchset 17:} // namespace
    Nicolas MacBeth . resolved

    super nit: newline here, and page context -> page load naming?

    Yasaman Sedaghat

    I have updated all the comments to make it more clear but prefer to keep the timeout variable name as is, because ultimately it is about page context fetching and the fact that we are not going to wait for page load to do full page context load.

    Line 311, Patchset 17: // Start the timeout timer to force page context generation if it takes too
    Nicolas MacBeth . resolved

    should this be in the `if(IsGeminiImmediateOverlayEnabled())`?

    also the `kStartupTimeWithFREHistogram` histogram in this current state would be logged twice, no?

    Yasaman Sedaghat

    Yes thanks for pointing this out. This flow only works and makes sense for when immediateOverlay is enabled, moved it.

    Line 313, Patchset 17: page_context_timeout_timer_.Start(FROM_HERE, kFullPageContextTimeout, this,
    Nicolas MacBeth . resolved

    we should pass a weak pointer here (see: `weak_factory_.GetWeakPtr()` above to prevent a crash and UAF)

    Yasaman Sedaghat

    Done

    Line 831, Patchset 17: browser_->GetWebStateList()->GetActiveWebState();
    Nicolas MacBeth . resolved

    we've had crashes where there is no active webstate. can we check for that first? (null check)

    Yasaman Sedaghat

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adam Arcaro
    • Nicolas MacBeth
    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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
      Gerrit-Change-Number: 7514256
      Gerrit-PatchSet: 18
      Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
      Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
      Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
      Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
      Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
      Gerrit-Attention: Adam Arcaro <ada...@google.com>
      Gerrit-Comment-Date: Mon, 09 Feb 2026 15:59:48 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Tarek Makkouk (Gerrit)

      unread,
      Feb 9, 2026, 12:03:12 PM (yesterday) Feb 9
      to Yasaman Sedaghat, Chromium LUCI CQ, Adam Arcaro, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Adam Arcaro, Nicolas MacBeth and Yasaman Sedaghat

      Tarek Makkouk added 1 comment

      File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.h
      Line 318, Patchset 17: // Whether to fetch full page context.
      bool get_full_page_context_ = true;
      Nicolas MacBeth . unresolved

      as discussed offline, all the non-test calls to this seem to be true. Should we clean it up from the function and here instead of doing this? I feel like this could be prone to bugs if another caller modifies it in the future before the originally setup extraction. WDYT?

      Yasaman Sedaghat

      @tarekm...@google.com, @ada...@google.com since you are more familiar with this field, do we still want to keep it around or just remove it and default to full context?

      Tarek Makkouk

      If all the production calls pass to true, I agree with Nick. I think keeping it despite that adds unnecessary complexity and could open us up to bugs in the future. I also think we can always add granular control later if a concrete use case arises.

      That being said, I defer to @ada...@google.com as he has more context on this specific task.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Adam Arcaro
      • Nicolas MacBeth
      • 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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
      Gerrit-Change-Number: 7514256
      Gerrit-PatchSet: 19
      Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
      Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
      Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
      Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
      Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: Menard, Alexis <alexis...@intel.com>
      Gerrit-CC: Tarek Makkouk <tarekm...@google.com>
      Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
      Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
      Gerrit-Attention: Adam Arcaro <ada...@google.com>
      Gerrit-Comment-Date: Mon, 09 Feb 2026 17:03:05 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Yasaman Sedaghat <yasa...@google.com>
      Comment-In-Reply-To: Nicolas MacBeth <nicolas...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Adam Arcaro (Gerrit)

      unread,
      Feb 9, 2026, 1:53:29 PM (23 hours ago) Feb 9
      to Yasaman Sedaghat, Tarek Makkouk, Chromium LUCI CQ, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Nicolas MacBeth and Yasaman Sedaghat

      Adam Arcaro added 1 comment

      File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.h
      Line 318, Patchset 17: // Whether to fetch full page context.
      bool get_full_page_context_ = true;
      Nicolas MacBeth . unresolved

      as discussed offline, all the non-test calls to this seem to be true. Should we clean it up from the function and here instead of doing this? I feel like this could be prone to bugs if another caller modifies it in the future before the originally setup extraction. WDYT?

      Yasaman Sedaghat

      @tarekm...@google.com, @ada...@google.com since you are more familiar with this field, do we still want to keep it around or just remove it and default to full context?

      Tarek Makkouk

      If all the production calls pass to true, I agree with Nick. I think keeping it despite that adds unnecessary complexity and could open us up to bugs in the future. I also think we can always add granular control later if a concrete use case arises.

      That being said, I defer to @ada...@google.com as he has more context on this specific task.

      Adam Arcaro

      I agree with removing the property for this case. `SetupPageContextGeneration` is async by design, and thus should always generate full page context. Plus, as Nic said, this property needs to be maintained and can be prone to bugs

      For cases where a caller wants partial page context, they can just use `GetPartialPageContext`.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Nicolas MacBeth
      • Yasaman Sedaghat
      Gerrit-Comment-Date: Mon, 09 Feb 2026 18:53:23 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Yasaman Sedaghat <yasa...@google.com>
      Comment-In-Reply-To: Nicolas MacBeth <nicolas...@google.com>
      Comment-In-Reply-To: Tarek Makkouk <tarekm...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Yasaman Sedaghat (Gerrit)

      unread,
      Feb 9, 2026, 4:08:01 PM (20 hours ago) Feb 9
      to Tarek Makkouk, Chromium LUCI CQ, Adam Arcaro, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Adam Arcaro, Nicolas MacBeth and Tarek Makkouk

      Yasaman Sedaghat added 1 comment

      File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.h
      Line 318, Patchset 17: // Whether to fetch full page context.
      bool get_full_page_context_ = true;
      Nicolas MacBeth . resolved

      as discussed offline, all the non-test calls to this seem to be true. Should we clean it up from the function and here instead of doing this? I feel like this could be prone to bugs if another caller modifies it in the future before the originally setup extraction. WDYT?

      Yasaman Sedaghat

      @tarekm...@google.com, @ada...@google.com since you are more familiar with this field, do we still want to keep it around or just remove it and default to full context?

      Tarek Makkouk

      If all the production calls pass to true, I agree with Nick. I think keeping it despite that adds unnecessary complexity and could open us up to bugs in the future. I also think we can always add granular control later if a concrete use case arises.

      That being said, I defer to @ada...@google.com as he has more context on this specific task.

      Adam Arcaro

      I agree with removing the property for this case. `SetupPageContextGeneration` is async by design, and thus should always generate full page context. Plus, as Nic said, this property needs to be maintained and can be prone to bugs

      For cases where a caller wants partial page context, they can just use `GetPartialPageContext`.

      Yasaman Sedaghat

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Adam Arcaro
      • Nicolas MacBeth
      • Tarek Makkouk
      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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
        Gerrit-Change-Number: 7514256
        Gerrit-PatchSet: 20
        Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
        Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
        Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
        Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
        Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
        Gerrit-CC: Menard, Alexis <alexis...@intel.com>
        Gerrit-CC: Tarek Makkouk <tarekm...@google.com>
        Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
        Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
        Gerrit-Attention: Adam Arcaro <ada...@google.com>
        Gerrit-Comment-Date: Mon, 09 Feb 2026 21:07:57 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Yasaman Sedaghat <yasa...@google.com>
        Comment-In-Reply-To: Nicolas MacBeth <nicolas...@google.com>
        Comment-In-Reply-To: Adam Arcaro <ada...@google.com>
        Comment-In-Reply-To: Tarek Makkouk <tarekm...@google.com>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Adam Arcaro (Gerrit)

        unread,
        Feb 9, 2026, 4:21:05 PM (20 hours ago) Feb 9
        to Yasaman Sedaghat, Tarek Makkouk, Chromium LUCI CQ, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
        Attention needed from Nicolas MacBeth, Tarek Makkouk and Yasaman Sedaghat

        Adam Arcaro voted and added 2 comments

        Votes added by Adam Arcaro

        Code-Review+1

        2 comments

        Patchset-level comments
        File-level comment, Patchset 20 (Latest):
        Adam Arcaro . resolved

        Thanks!

        File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.mm
        Line 595, Patchset 20 (Latest): [page_context_wrapper_ setShouldGetSnapshot:true];
        Adam Arcaro . unresolved

        nit: These takes in `BOOL`s (Obj-C), not `bool`s (C++), so we should pass `YES`

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Nicolas MacBeth
        • Tarek Makkouk
        • Yasaman Sedaghat
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement is not 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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
          Gerrit-Change-Number: 7514256
          Gerrit-PatchSet: 20
          Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
          Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
          Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
          Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
          Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
          Gerrit-CC: Menard, Alexis <alexis...@intel.com>
          Gerrit-CC: Tarek Makkouk <tarekm...@google.com>
          Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
          Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
          Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
          Gerrit-Comment-Date: Mon, 09 Feb 2026 21:20:57 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Yasaman Sedaghat (Gerrit)

          unread,
          Feb 9, 2026, 4:25:30 PM (20 hours ago) Feb 9
          to Adam Arcaro, Tarek Makkouk, Chromium LUCI CQ, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
          Attention needed from Nicolas MacBeth and Tarek Makkouk

          Yasaman Sedaghat added 1 comment

          File ios/chrome/browser/intelligence/bwg/model/bwg_tab_helper.mm
          Line 595, Patchset 20 (Latest): [page_context_wrapper_ setShouldGetSnapshot:true];
          Adam Arcaro . resolved

          nit: These takes in `BOOL`s (Obj-C), not `bool`s (C++), so we should pass `YES`

          Yasaman Sedaghat

          Done

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Nicolas MacBeth
          • Tarek Makkouk
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement satisfiedCode-Owners
            • requirement is not 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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
            Gerrit-Change-Number: 7514256
            Gerrit-PatchSet: 20
            Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
            Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
            Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
            Gerrit-CC: Menard, Alexis <alexis...@intel.com>
            Gerrit-CC: Tarek Makkouk <tarekm...@google.com>
            Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
            Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
            Gerrit-Comment-Date: Mon, 09 Feb 2026 21:25:23 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Adam Arcaro <ada...@google.com>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Adam Arcaro (Gerrit)

            unread,
            Feb 9, 2026, 4:26:44 PM (20 hours ago) Feb 9
            to Yasaman Sedaghat, Tarek Makkouk, Chromium LUCI CQ, Nicolas MacBeth, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Nicolas MacBeth, Tarek Makkouk and Yasaman Sedaghat

            Adam Arcaro voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Nicolas MacBeth
            • Tarek Makkouk
            • Yasaman Sedaghat
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement satisfiedCode-Owners
            • requirement is not 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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
            Gerrit-Change-Number: 7514256
            Gerrit-PatchSet: 21
            Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
            Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
            Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
            Gerrit-CC: Menard, Alexis <alexis...@intel.com>
            Gerrit-CC: Tarek Makkouk <tarekm...@google.com>
            Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
            Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
            Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
            Gerrit-Comment-Date: Mon, 09 Feb 2026 21:26:36 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Nicolas MacBeth (Gerrit)

            unread,
            Feb 9, 2026, 4:37:02 PM (20 hours ago) Feb 9
            to Yasaman Sedaghat, Adam Arcaro, Tarek Makkouk, Chromium LUCI CQ, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
            Attention needed from Tarek Makkouk and Yasaman Sedaghat

            Nicolas MacBeth voted and added 2 comments

            Votes added by Nicolas MacBeth

            Code-Review+1

            2 comments

            Patchset-level comments
            File-level comment, Patchset 21 (Latest):
            Nicolas MacBeth . resolved

            lgtm, thanks a lot Yasaman!

            File ios/chrome/browser/intelligence/bwg/model/gemini_browser_agent.mm
            Line 175, Patchset 20:GeminiBrowserAgent::~GeminiBrowserAgent() {
            Nicolas MacBeth . unresolved

            should we destroy the timer in the destructor?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Tarek Makkouk
            • Yasaman Sedaghat
            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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
              Gerrit-Change-Number: 7514256
              Gerrit-PatchSet: 21
              Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
              Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
              Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
              Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
              Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
              Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
              Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
              Gerrit-CC: Menard, Alexis <alexis...@intel.com>
              Gerrit-CC: Tarek Makkouk <tarekm...@google.com>
              Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
              Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
              Gerrit-Comment-Date: Mon, 09 Feb 2026 21:36:57 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Yasaman Sedaghat (Gerrit)

              unread,
              Feb 9, 2026, 7:26:51 PM (17 hours ago) Feb 9
              to Nicolas MacBeth, Adam Arcaro, Tarek Makkouk, Chromium LUCI CQ, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
              Attention needed from Nicolas MacBeth and Tarek Makkouk

              Yasaman Sedaghat added 1 comment

              File ios/chrome/browser/intelligence/bwg/model/gemini_browser_agent.mm
              Line 175, Patchset 20:GeminiBrowserAgent::~GeminiBrowserAgent() {
              Nicolas MacBeth . unresolved

              should we destroy the timer in the destructor?

              Yasaman Sedaghat

              Hm is that needed? once the instance is destructed, wouldn't the timer get destroyed as well?

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Nicolas MacBeth
              • Tarek Makkouk
              Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
              Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
              Gerrit-Comment-Date: Tue, 10 Feb 2026 00:26:44 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              Comment-In-Reply-To: Nicolas MacBeth <nicolas...@google.com>
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Adam Arcaro (Gerrit)

              unread,
              10:19 AM (2 hours ago) 10:19 AM
              to Yasaman Sedaghat, Nicolas MacBeth, Tarek Makkouk, Chromium LUCI CQ, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
              Attention needed from Nicolas MacBeth, Tarek Makkouk and Yasaman Sedaghat

              Adam Arcaro added 1 comment

              File ios/chrome/browser/intelligence/bwg/model/gemini_browser_agent.mm
              Line 175, Patchset 20:GeminiBrowserAgent::~GeminiBrowserAgent() {
              Nicolas MacBeth . resolved

              should we destroy the timer in the destructor?

              Yasaman Sedaghat

              Hm is that needed? once the instance is destructed, wouldn't the timer get destroyed as well?

              Adam Arcaro

              I don't think it's needed, since all private variables are destroyed automatically when this class is

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Nicolas MacBeth
              • Tarek Makkouk
              • Yasaman Sedaghat
              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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
                Gerrit-Change-Number: 7514256
                Gerrit-PatchSet: 21
                Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
                Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
                Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
                Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
                Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
                Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
                Gerrit-CC: Menard, Alexis <alexis...@intel.com>
                Gerrit-CC: Tarek Makkouk <tarekm...@google.com>
                Gerrit-Attention: Yasaman Sedaghat <yasa...@google.com>
                Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
                Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
                Gerrit-Comment-Date: Tue, 10 Feb 2026 15:19:12 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                satisfied_requirement
                open
                diffy

                Yasaman Sedaghat (Gerrit)

                unread,
                10:21 AM (2 hours ago) 10:21 AM
                to Nicolas MacBeth, Adam Arcaro, Tarek Makkouk, Chromium LUCI CQ, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
                Attention needed from Nicolas MacBeth and Tarek Makkouk

                Yasaman Sedaghat voted Commit-Queue+2

                Commit-Queue+2
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Nicolas MacBeth
                • Tarek Makkouk
                Gerrit-Attention: Nicolas MacBeth <nicolas...@google.com>
                Gerrit-Attention: Tarek Makkouk <tarekm...@google.com>
                Gerrit-Comment-Date: Tue, 10 Feb 2026 15:21:18 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                open
                diffy

                Chromium LUCI CQ (Gerrit)

                unread,
                10:25 AM (2 hours ago) 10:25 AM
                to Yasaman Sedaghat, Nicolas MacBeth, Adam Arcaro, Tarek Makkouk, Menard, Alexis, Chromium Metrics Reviews, Christian Biesinger, Enterprise Policy Reviews, AyeAye, chromium...@chromium.org, blink-re...@chromium.org, mac-r...@chromium.org, rrsilva+wat...@google.com, blink-...@chromium.org, devtools...@chromium.org, asvitki...@chromium.org, security-...@chromium.org, android-web...@chromium.org, blink-revi...@chromium.org, wfh+...@chromium.org, extension...@chromium.org, tbarzi...@chromium.org, gcasto+w...@chromium.org, apavlo...@chromium.org, yigu+...@chromium.org, chromiumme...@microsoft.com, chromium-a...@chromium.org, zol...@webkit.org, npm+...@chromium.org, vasilii+watchlis...@chromium.org, asvitkine...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

                Chromium LUCI CQ submitted the change

                Change information

                Commit message:
                Helios Best effort page context generation if page isn't loading

                Adding a timeout to force page context generation to update floaty when
                a page takes a long time to load. Without the timeout we never get the
                PageLoaded callback, don't generate the full page context, and floaty
                will show results given the limited page context info (title, url, etc
                but not innertext). The timeout is set to 3 seconds, after which we
                force generating page context with whatever page info available.

                If after timeout, page completes loading, we get the full page context
                and update floaty again.
                Fixed: 453981860
                Change-Id: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
                Reviewed-by: Adam Arcaro <ada...@google.com>
                Reviewed-by: Nicolas MacBeth <nicolas...@google.com>
                Commit-Queue: Yasaman Sedaghat <yasa...@google.com>
                Cr-Commit-Position: refs/heads/main@{#1582505}
                Files:
                Change size: L
                Delta: 7 files changed, 200 insertions(+), 77 deletions(-)
                Branch: refs/heads/main
                Submit Requirements:
                • requirement satisfiedCode-Review: +1 by Adam Arcaro, +1 by Nicolas MacBeth
                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: I4d6be174e76d8d87ac4f0c41e858a5c30b9d3da5
                Gerrit-Change-Number: 7514256
                Gerrit-PatchSet: 22
                Gerrit-Owner: Yasaman Sedaghat <yasa...@google.com>
                Gerrit-Reviewer: Adam Arcaro <ada...@google.com>
                Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
                Gerrit-Reviewer: Nicolas MacBeth <nicolas...@google.com>
                Gerrit-Reviewer: Yasaman Sedaghat <yasa...@google.com>
                Gerrit-CC: Christian Biesinger <cbies...@chromium.org>
                open
                diffy
                satisfied_requirement
                Reply all
                Reply to author
                Forward
                0 new messages