[bedrock] Migrate tab_lifecycle_unit_source.cc away from BrowserListObserver. [chromium/src : main]

0 views
Skip to first unread message

Glenn Hartmann (Gerrit)

unread,
Dec 12, 2025, 4:07:44 PMDec 12
to Francois Pierre Doray, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, stluon...@chromium.org, chrome-gr...@chromium.org, rginda...@chromium.org
Attention needed from Francois Pierre Doray

New activity on the change

Open in Gerrit

Related details

Attention is currently required from:
  • Francois Pierre Doray
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: I1752bbdc10228ad785f69178e3024c086a6a6964
Gerrit-Change-Number: 7238850
Gerrit-PatchSet: 17
Gerrit-Owner: Glenn Hartmann <hart...@chromium.org>
Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Reviewer: Glenn Hartmann <hart...@chromium.org>
Gerrit-Attention: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Comment-Date: Fri, 12 Dec 2025 21:07:38 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Glenn Hartmann (Gerrit)

unread,
Dec 15, 2025, 9:39:13 AM (13 days ago) Dec 15
to Francois Pierre Doray, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, stluon...@chromium.org, chrome-gr...@chromium.org, rginda...@chromium.org
Attention needed from Francois Pierre Doray

Glenn Hartmann added 1 comment

Patchset-level comments
File-level comment, Patchset 17 (Latest):
Glenn Hartmann . resolved

seems there are some new test failures. I'll look into these and add you back as a reviewer once they're fixed. Apologies for the noise

Open in Gerrit

Related details

Attention is currently required from:
  • Francois Pierre Doray
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: I1752bbdc10228ad785f69178e3024c086a6a6964
Gerrit-Change-Number: 7238850
Gerrit-PatchSet: 17
Gerrit-Owner: Glenn Hartmann <hart...@chromium.org>
Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Reviewer: Glenn Hartmann <hart...@chromium.org>
Gerrit-Attention: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Comment-Date: Mon, 15 Dec 2025 14:39:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Glenn Hartmann (Gerrit)

unread,
Dec 15, 2025, 11:37:19 AM (13 days ago) Dec 15
to Francois Pierre Doray, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, stluon...@chromium.org, chrome-gr...@chromium.org, rginda...@chromium.org
Attention needed from Francois Pierre Doray

Glenn Hartmann added 1 comment

Patchset-level comments
Glenn Hartmann . resolved

seems there are some new test failures. I'll look into these and add you back as a reviewer once they're fixed. Apologies for the noise

Glenn Hartmann

fixed, it was just a rebase error

Open in Gerrit

Related details

Attention is currently required from:
  • Francois Pierre Doray
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: I1752bbdc10228ad785f69178e3024c086a6a6964
Gerrit-Change-Number: 7238850
Gerrit-PatchSet: 18
Gerrit-Owner: Glenn Hartmann <hart...@chromium.org>
Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Reviewer: Glenn Hartmann <hart...@chromium.org>
Gerrit-Attention: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Comment-Date: Mon, 15 Dec 2025 16:37:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Glenn Hartmann <hart...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Francois Pierre Doray (Gerrit)

unread,
Dec 16, 2025, 11:50:36 AM (12 days ago) Dec 16
to Glenn Hartmann, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, stluon...@chromium.org, chrome-gr...@chromium.org, rginda...@chromium.org
Attention needed from Glenn Hartmann

Francois Pierre Doray voted and added 2 comments

Votes added by Francois Pierre Doray

Code-Review+1

2 comments

Patchset-level comments
File-level comment, Patchset 19 (Latest):
Francois Pierre Doray . resolved

LGTM with comment

File chrome/browser/resource_coordinator/tab_lifecycle_unit_source.cc
Line 346, Patchset 19 (Latest): // An active browser may be removed without OnBrowserDidBecomeActive() being
Francois Pierre Doray . unresolved

not the right method name?

Open in Gerrit

Related details

Attention is currently required from:
  • Glenn Hartmann
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: I1752bbdc10228ad785f69178e3024c086a6a6964
Gerrit-Change-Number: 7238850
Gerrit-PatchSet: 19
Gerrit-Owner: Glenn Hartmann <hart...@chromium.org>
Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
Gerrit-Reviewer: Glenn Hartmann <hart...@chromium.org>
Gerrit-Attention: Glenn Hartmann <hart...@chromium.org>
Gerrit-Comment-Date: Tue, 16 Dec 2025 16:50:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Glenn Hartmann (Gerrit)

unread,
Dec 16, 2025, 12:35:41 PM (12 days ago) Dec 16
to Francois Pierre Doray, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, stluon...@chromium.org, chrome-gr...@chromium.org, rginda...@chromium.org

Glenn Hartmann added 1 comment

File chrome/browser/resource_coordinator/tab_lifecycle_unit_source.cc
Line 346, Patchset 19: // An active browser may be removed without OnBrowserDidBecomeActive() being
Francois Pierre Doray . resolved

not the right method name?

Glenn Hartmann

yep good catch, thanks!

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: I1752bbdc10228ad785f69178e3024c086a6a6964
    Gerrit-Change-Number: 7238850
    Gerrit-PatchSet: 20
    Gerrit-Owner: Glenn Hartmann <hart...@chromium.org>
    Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
    Gerrit-Reviewer: Glenn Hartmann <hart...@chromium.org>
    Gerrit-Comment-Date: Tue, 16 Dec 2025 17:35:34 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Francois Pierre Doray <fdo...@chromium.org>
    satisfied_requirement
    open
    diffy

    Glenn Hartmann (Gerrit)

    unread,
    Dec 16, 2025, 12:35:45 PM (12 days ago) Dec 16
    to Francois Pierre Doray, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, stluon...@chromium.org, chrome-gr...@chromium.org, rginda...@chromium.org

    Glenn Hartmann 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: I1752bbdc10228ad785f69178e3024c086a6a6964
    Gerrit-Change-Number: 7238850
    Gerrit-PatchSet: 20
    Gerrit-Owner: Glenn Hartmann <hart...@chromium.org>
    Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
    Gerrit-Reviewer: Glenn Hartmann <hart...@chromium.org>
    Gerrit-Comment-Date: Tue, 16 Dec 2025 17:35:37 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Dec 16, 2025, 1:43:45 PM (12 days ago) Dec 16
    to Glenn Hartmann, Francois Pierre Doray, AyeAye, chromium...@chromium.org, stluon...@chromium.org, chrome-gr...@chromium.org, rginda...@chromium.org

    Chromium LUCI CQ submitted the change with unreviewed changes

    Unreviewed changes

    19 is the latest approved patch-set.
    The change was submitted with unreviewed changes in the following files:

    ```
    The name of the file: chrome/browser/resource_coordinator/tab_lifecycle_unit_source.cc
    Insertions: 1, Deletions: 1.

    @@ -343,7 +343,7 @@
    }

    void TabLifecycleUnitSource::OnBrowserClosed(BrowserWindowInterface* browser) {
    - // An active browser may be removed without OnBrowserDidBecomeActive() being
    + // An active browser may be removed without OnBrowserActivated() being
    // invoked. crbug.com/1206458
    UpdateFocusedTab();
    }
    ```

    Change information

    Commit message:
    [bedrock] Migrate tab_lifecycle_unit_source.cc away from BrowserListObserver.

    This migration is part of project bedrock to reduce the dependencies on
    Browser and BrowserList. See https://crbug.com/431671320 for more info.
    Bug: 459777668
    Change-Id: I1752bbdc10228ad785f69178e3024c086a6a6964
    Commit-Queue: Glenn Hartmann <hart...@chromium.org>
    Reviewed-by: Francois Pierre Doray <fdo...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1559453}
    Files:
    • M chrome/browser/resource_coordinator/tab_lifecycle_unit_source.cc
    • M chrome/browser/resource_coordinator/tab_lifecycle_unit_source.h
    Change size: S
    Delta: 2 files changed, 24 insertions(+), 17 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Francois Pierre Doray
    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: I1752bbdc10228ad785f69178e3024c086a6a6964
    Gerrit-Change-Number: 7238850
    Gerrit-PatchSet: 21
    Gerrit-Owner: Glenn Hartmann <hart...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Francois Pierre Doray <fdo...@chromium.org>
    Gerrit-Reviewer: Glenn Hartmann <hart...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages