Return BrowserWindowInterface from DownloadCommands::GetBrowser() [chromium/src : main]

0 views
Skip to first unread message

Antonio Gomes Netto (Gerrit)

unread,
Jul 8, 2026, 8:59:17 PM (13 hours ago) Jul 8
to Antonio Gomes Netto, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium-bedrock-reviews, chromium...@chromium.org, chlily...@chromium.org, dtraino...@chromium.org, xinghui...@chromium.org
Attention needed from chromium-bedrock-reviews

Antonio Gomes Netto added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Antonio Gomes Netto . resolved

PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • chromium-bedrock-reviews
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: Ibbc1946232ec6fff42b440526da1650efe6091e5
Gerrit-Change-Number: 8067536
Gerrit-PatchSet: 1
Gerrit-Owner: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: chromium-bedrock-reviews <chromium-bed...@google.com>
Gerrit-Attention: chromium-bedrock-reviews <chromium-bed...@google.com>
Gerrit-Comment-Date: Thu, 09 Jul 2026 00:59:06 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

gwsq (Gerrit)

unread,
Jul 8, 2026, 9:03:43 PM (13 hours ago) Jul 8
to Antonio Gomes Netto, chromium-bedrock-reviews, Colin Blundell, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, chlily...@chromium.org, dtraino...@chromium.org, xinghui...@chromium.org
Attention needed from Colin Blundell

Message from gwsq

Reviewer source(s):
blun...@chromium.org is from context(googleclient/chrome/chromium_gwsq/chrome/browser/config.gwsq)

Open in Gerrit

Related details

Attention is currently required from:
  • Colin Blundell
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: Ibbc1946232ec6fff42b440526da1650efe6091e5
Gerrit-Change-Number: 8067536
Gerrit-PatchSet: 1
Gerrit-Owner: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-CC: chromium-bedrock-reviews <chromium-bed...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Colin Blundell <blun...@chromium.org>
Gerrit-Comment-Date: Thu, 09 Jul 2026 01:03:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Colin Blundell (Gerrit)

unread,
3:14 AM (7 hours ago) 3:14 AM
to Antonio Gomes Netto, Colin Blundell, chromium-bedrock-reviews, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, chlily...@chromium.org, dtraino...@chromium.org, xinghui...@chromium.org
Attention needed from Antonio Gomes Netto

Colin Blundell voted and added 1 comment

Votes added by Colin Blundell

Code-Review+1

1 comment

Patchset-level comments
Colin Blundell . resolved

Thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Antonio Gomes Netto
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: Ibbc1946232ec6fff42b440526da1650efe6091e5
Gerrit-Change-Number: 8067536
Gerrit-PatchSet: 1
Gerrit-Owner: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-CC: chromium-bedrock-reviews <chromium-bed...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Comment-Date: Thu, 09 Jul 2026 07:14:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Antonio Gomes Netto (Gerrit)

unread,
8:17 AM (2 hours ago) 8:17 AM
to Antonio Gomes Netto, Colin Blundell, chromium-bedrock-reviews, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, chlily...@chromium.org, dtraino...@chromium.org, xinghui...@chromium.org

Antonio Gomes Netto 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: Ibbc1946232ec6fff42b440526da1650efe6091e5
Gerrit-Change-Number: 8067536
Gerrit-PatchSet: 1
Gerrit-Owner: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-CC: chromium-bedrock-reviews <chromium-bed...@google.com>
Gerrit-CC: gwsq
Gerrit-Comment-Date: Thu, 09 Jul 2026 12:17:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
8:28 AM (2 hours ago) 8:28 AM
to Antonio Gomes Netto, Colin Blundell, chromium-bedrock-reviews, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, chlily...@chromium.org, dtraino...@chromium.org, xinghui...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
Return BrowserWindowInterface from DownloadCommands::GetBrowser()

DownloadCommands::GetBrowser() only builds a
ScopedTabbedBrowserDisplayer and returns its browser, and all five call
sites feed the result to APIs that already take a BrowserWindowInterface
(or content::PageNavigator, which BrowserWindowInterface implements):
OpenURL, ShowSafeBrowsingEnhancedProtectionWithIph, and
DownloadProtectionService::ShowDetailsForDownload. So change
GetBrowser() to return BrowserWindowInterface*; the call sites are
unchanged.

This removes the last concrete-Browser use in download_commands.cc, so
its chrome/browser/ui/browser.h include is dropped. Two download-bubble
headers were relying on that include's transitive `class Browser;`
forward declaration; give them their own forward declaration.

R=chromium-bed...@google.com
Bug: 353332589
Change-Id: Ibbc1946232ec6fff42b440526da1650efe6091e5
Commit-Queue: Antonio Gomes Netto <toni...@igalia.com>
Reviewed-by: Colin Blundell <blun...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1659484}
Files:
  • M chrome/browser/download/download_commands.cc
  • M chrome/browser/download/download_commands.h
  • M chrome/browser/ui/views/download/bubble/download_bubble_row_list_view.h
  • M chrome/browser/ui/views/download/bubble/download_bubble_row_view.h
Change size: S
Delta: 4 files changed, 8 insertions(+), 6 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Colin Blundell
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: Ibbc1946232ec6fff42b440526da1650efe6091e5
Gerrit-Change-Number: 8067536
Gerrit-PatchSet: 2
Gerrit-Owner: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Antonio Gomes Netto <toni...@igalia.com>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages