[143][context-input] Update cluster info lifecycle for query controller [chromium/src : refs/branch-heads/7499]

0 views
Skip to first unread message

manuk hovanesian (Gerrit)

unread,
Nov 12, 2025, 3:02:16 PM (15 hours ago) Nov 12
to Justin Donnelly, Chromium LUCI CQ, chromium...@chromium.org, ananyasee...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, niharm...@google.com, omnibox-...@chromium.org
Attention needed from Justin Donnelly

manuk hovanesian voted and added 1 comment

Votes added by manuk hovanesian

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
manuk hovanesian . resolved

lgtm

Open in Gerrit

Related details

Attention is currently required from:
  • Justin Donnelly
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedLint
  • 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: refs/branch-heads/7499
Gerrit-Change-Id: If3af72c16a90a69ca955eeb802a66bd5fd6bf097
Gerrit-Change-Number: 7148318
Gerrit-PatchSet: 2
Gerrit-Owner: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: manuk hovanesian <man...@chromium.org>
Gerrit-Attention: Justin Donnelly <jdon...@chromium.org>
Gerrit-Comment-Date: Wed, 12 Nov 2025 20:02:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Duncan Mercer (Gerrit)

unread,
Nov 12, 2025, 3:02:19 PM (15 hours ago) Nov 12
to Justin Donnelly, manuk hovanesian, Chromium LUCI CQ, chromium...@chromium.org, ananyasee...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, niharm...@google.com, omnibox-...@chromium.org
Attention needed from Justin Donnelly

Duncan Mercer voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Justin Donnelly
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedLint
  • 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: refs/branch-heads/7499
Gerrit-Change-Id: If3af72c16a90a69ca955eeb802a66bd5fd6bf097
Gerrit-Change-Number: 7148318
Gerrit-PatchSet: 2
Gerrit-Owner: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: Duncan Mercer <mer...@google.com>
Gerrit-Reviewer: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: manuk hovanesian <man...@chromium.org>
Gerrit-Attention: Justin Donnelly <jdon...@chromium.org>
Gerrit-Comment-Date: Wed, 12 Nov 2025 20:02:07 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Nov 12, 2025, 3:07:10 PM (14 hours ago) Nov 12
to Justin Donnelly, Lei Zhang, Duncan Mercer, manuk hovanesian, Chromium LUCI CQ, chromium...@chromium.org, ananyasee...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, niharm...@google.com, omnibox-...@chromium.org
Attention needed from Justin Donnelly

Lei Zhang voted

Code-Review+1
Owners-Override+1
Open in Gerrit

Related details

Attention is currently required from:
  • Justin Donnelly
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedLint
  • 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: refs/branch-heads/7499
Gerrit-Change-Id: If3af72c16a90a69ca955eeb802a66bd5fd6bf097
Gerrit-Change-Number: 7148318
Gerrit-PatchSet: 2
Gerrit-Owner: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: Duncan Mercer <mer...@google.com>
Gerrit-Reviewer: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: manuk hovanesian <man...@chromium.org>
Gerrit-Attention: Justin Donnelly <jdon...@chromium.org>
Gerrit-Comment-Date: Wed, 12 Nov 2025 20:06:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Justin Donnelly (Gerrit)

unread,
Nov 12, 2025, 11:27:18 PM (6 hours ago) Nov 12
to Justin Donnelly, Lei Zhang, Duncan Mercer, manuk hovanesian, Chromium LUCI CQ, chromium...@chromium.org, ananyasee...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, niharm...@google.com, omnibox-...@chromium.org

Justin Donnelly voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement satisfiedLint
  • 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: refs/branch-heads/7499
Gerrit-Change-Id: If3af72c16a90a69ca955eeb802a66bd5fd6bf097
Gerrit-Change-Number: 7148318
Gerrit-PatchSet: 2
Gerrit-Owner: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: Duncan Mercer <mer...@google.com>
Gerrit-Reviewer: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: manuk hovanesian <man...@chromium.org>
Gerrit-Comment-Date: Thu, 13 Nov 2025 04:27:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Nov 12, 2025, 11:30:38 PM (6 hours ago) Nov 12
to Justin Donnelly, Lei Zhang, Duncan Mercer, manuk hovanesian, chromium...@chromium.org, ananyasee...@google.com, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, niharm...@google.com, omnibox-...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[143][context-input] Update cluster info lifecycle for query controller

The query controller may be controlled by multiple UIs at the same time,
so the UI should no longer be in charge of managing the lifecycle of the
query controller. This cl moves the session initialization flow (i.e.
fetching cluster info) to a InitializeIfNeeded method.

Since the cluster info is no longer cleared upon session end, this cl
removes the clear-on-session-start flag and behaviour. It also fixes the
BUILD config for the query controller unit tests and updates some
constants there.

(cherry picked from commit f74cd402a89f61ea2b34efff4586acf97053f7e6)
Bug: b:457472466, b:452118691, 460125833
Change-Id: If3af72c16a90a69ca955eeb802a66bd5fd6bf097
Reviewed-by: Christian Xu <chris...@chromium.org>
Commit-Queue: Jason Hu <huja...@google.com>
Reviewed-by: Moe Ahmadi <mah...@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1540243}
Reviewed-by: Lei Zhang <the...@chromium.org>
Commit-Queue: Justin Donnelly <jdon...@chromium.org>
Reviewed-by: manuk hovanesian <man...@chromium.org>
Owners-Override: Lei Zhang <the...@chromium.org>
Reviewed-by: Duncan Mercer <mer...@google.com>
Cr-Commit-Position: refs/branch-heads/7499@{#1574}
Cr-Branched-From: b30439823e5177773584139e72e0593e36863899-refs/heads/main@{#1536371}
Files:
  • M chrome/browser/android/omnibox/composebox_query_controller_bridge.cc
  • M chrome/browser/ui/webui/new_tab_page/composebox/composebox_handler_unittest.cc
  • M chrome/browser/ui/webui/new_tab_page/composebox/variations/composebox_fieldtrial.cc
  • M chrome/browser/ui/webui/searchbox/contextual_searchbox_handler.cc
  • M chrome/browser/ui/webui/searchbox/contextual_searchbox_handler_unittest.cc
  • M chrome/browser/ui/webui/searchbox/contextual_searchbox_test_utils.cc
  • M chrome/browser/ui/webui/searchbox/contextual_searchbox_test_utils.h
  • M components/BUILD.gn
  • M components/contextual_search/contextual_search_context_controller.h
  • M components/contextual_search/internal/composebox_query_controller.cc
  • M components/contextual_search/internal/composebox_query_controller.h
  • M components/contextual_search/internal/composebox_query_controller_unittest.cc
  • M components/contextual_search/internal/test_composebox_query_controller.cc
  • M components/contextual_search/internal/test_composebox_query_controller.h
  • M ios/chrome/browser/aim/prototype/coordinator/aim_prototype_composebox_mediator.mm
Change size: L
Delta: 15 files changed, 120 insertions(+), 311 deletions(-)
Branch: refs/branch-heads/7499
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Lei Zhang, +1 by manuk hovanesian, +1 by Duncan Mercer
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: refs/branch-heads/7499
Gerrit-Change-Id: If3af72c16a90a69ca955eeb802a66bd5fd6bf097
Gerrit-Change-Number: 7148318
Gerrit-PatchSet: 3
Gerrit-Owner: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Duncan Mercer <mer...@google.com>
Gerrit-Reviewer: Justin Donnelly <jdon...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: manuk hovanesian <man...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages