Remove base/logging.h include from validation_errors.h [chromium/src : main]

0 views
Skip to first unread message

Daniel Cheng (Gerrit)

unread,
Apr 7, 2026, 2:55:47 AMApr 7
to Daniel Cheng, Lei Zhang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, devtools...@chromium.org, Enterprise Policy Reviews, Andrew Rayskiy, Henrique Ferreiro, (Julie)Jeongeun Kim, Raphael Kubo da Costa, Mathias Bynens, Mike Taylor, Hu, Ningxin, Permissions Reviews, Peter Beverloo, prerendering-reviews, Jiewei Qian, Rijubrata Bhaumik, Sadrul Chowdhury, Simon Hangl, Sarah Krakowiak, James Su, Victor Tan, Ian Vollick, Lin, Wanming, abigailbk...@google.com, aixba+wat...@chromium.org, ajayramamurth...@google.com, alexmo...@chromium.org, android-web...@chromium.org, andysjl...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, asvitki...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, browser-comp...@chromium.org, cbe-cep-eng...@google.com, cc-...@chromium.org, chasej...@chromium.org, chfreme...@chromium.org, chrome-gr...@chromium.org, chrome-intell...@chromium.org, chrome-intelligence-te...@google.com, chrome-tab-group-en...@google.com, chromeos-gfx-...@google.com, chromium-a...@chromium.org, chromiumme...@microsoft.com, creis...@chromium.org, crisrael+w...@google.com, cros-ed...@google.com, cros-print...@google.com, dclasson+w...@google.com, dewitt...@chromium.org, dfried...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+wa...@chromium.org, dmurph+watchi...@chromium.org, dmurph+watching...@chromium.org, dmurph+watc...@chromium.org, dmurph+watch...@chromium.org, dtapuska+ch...@chromium.org, dtraino...@chromium.org, dtseng...@chromium.org, dullweb...@chromium.org, edgesto...@microsoft.com, eme-r...@chromium.org, enne...@chromium.org, estali...@chromium.org, extension...@chromium.org, feature-me...@chromium.org, feature-v...@chromium.org, francisjp...@google.com, gavin...@chromium.org, gcasto+w...@chromium.org, hais+wat...@google.com, hansberry+w...@chromium.org, hansenmichael...@google.com, hayato...@chromium.org, headless...@chromium.org, iclella...@chromium.org, ipc-securi...@chromium.org, jackshira+w...@google.com, japhet+...@chromium.org, jasonrobe...@google.com, jatapiaro+wat...@google.com, jbauma...@chromium.org, jdeblas...@chromium.org, jeffreycohen+watc...@chromium.org, jophba...@chromium.org, josiah...@chromium.org, keithle...@chromium.org, kinuko+...@chromium.org, kinuko...@chromium.org, kuragin+web-ap...@chromium.org, kyungjunle...@google.com, loyso...@chromium.org, lwinston+watc...@google.com, mac-r...@chromium.org, marinacio...@chromium.org, martijn...@martijnc.be, mattreyno...@chromium.org, max+watc...@igalia.com, mbarowsky+watc...@chromium.org, media-cro...@chromium.org, mek+w...@chromium.org, mfoltz+wa...@chromium.org, mfoltz+wa...@chromium.org, mgiuca...@chromium.org, mkwst+w...@chromium.org, msrame...@chromium.org, navigation...@chromium.org, nektar...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org, nickdiego+wa...@igalia.com, nona+...@chromium.org, ntp-dev...@chromium.org, nwoked...@chromium.org, odejesu...@chromium.org, olka+...@chromium.org, ortuno...@chromium.org, oshima...@chromium.org, ozone-...@chromium.org, pdf-r...@chromium.org, penghu...@chromium.org, performance-m...@chromium.org, philli...@chromium.org, print-rev...@chromium.org, pushi+wat...@google.com, rhalava...@chromium.org, rmcelra...@chromium.org, roblia...@chromium.org, rsleev...@chromium.org, shuche...@chromium.org, sky+...@chromium.org, spang...@chromium.org, storage...@chromium.org, subresource-f...@chromium.org, suetfei+wa...@google.com, tburkar...@chromium.org, tgupta...@chromium.org, thiabaud+watch-d...@google.com, titoua...@chromium.org, toyosh...@chromium.org, tracing...@chromium.org, tranbaod...@chromium.org, translat...@chromium.org, trewin...@google.com, twifka...@chromium.org, vakh+safe_br...@chromium.org, vasilii+watchlis...@chromium.org, webap...@microsoft.com, wfh+...@chromium.org, xinghui...@chromium.org, xlythe+wa...@google.com, yhanad...@chromium.org, yuzo+...@chromium.org, zackha...@chromium.org, zelin+watch-we...@chromium.org
Attention needed from Lei Zhang

Daniel Cheng added 3 comments

Patchset-level comments
File-level comment, Patchset 14 (Latest):
Daniel Cheng . resolved

There are definitely some tradeoffs being made here, but I think it has enough impact to be worth it.

I would like to try to land something we're moderately OK with and then try to iterate further from there, since the base/logging.h IWYU issues are likely to regress.

File mojo/public/cpp/bindings/lib/validation_errors.h
Line 153, Patchset 14 (Latest): const ArrayExpectedSizeError& details);
Daniel Cheng . resolved

But at the very least, I'll think about ways to consolidate this a bit.

Line 102, Patchset 14 (Latest):COMPONENT_EXPORT(MOJO_CPP_BINDINGS_BASE)
Daniel Cheng . resolved

I will admit that adding 6 new overloads isn't the best, but it seems unlikely we'll add more.

Open in Gerrit

Related details

Attention is currently required from:
  • Lei Zhang
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: If52b10f4928b7920ea7b120754a1798c125fefa7
Gerrit-Change-Number: 7730404
Gerrit-PatchSet: 14
Gerrit-Owner: Daniel Cheng <dch...@chromium.org>
Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Andrew Rayskiy <green...@google.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: Henrique Ferreiro <hfer...@igalia.com>
Gerrit-CC: Hu, Ningxin <ningx...@intel.com>
Gerrit-CC: Ian Vollick <vol...@chromium.org>
Gerrit-CC: James Su <su...@chromium.org>
Gerrit-CC: Jiewei Qian <q...@chromium.org>
Gerrit-CC: Lin, Wanming <wanmi...@intel.com>
Gerrit-CC: Mathias Bynens <mat...@chromium.org>
Gerrit-CC: Mike Taylor <mike...@chromium.org>
Gerrit-CC: Permissions Reviews <permissio...@chromium.org>
Gerrit-CC: Peter Beverloo <pe...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-CC: Rijubrata Bhaumik <rijubrat...@intel.com>
Gerrit-CC: Sadrul Chowdhury <sad...@chromium.org>
Gerrit-CC: Sarah Krakowiak <skra...@chromium.org>
Gerrit-CC: Simon Hangl <sim...@google.com>
Gerrit-CC: Victor Tan <vict...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Comment-Date: Tue, 07 Apr 2026 06:55:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Lei Zhang (Gerrit)

unread,
Apr 7, 2026, 3:07:36 AMApr 7
to Daniel Cheng, Lei Zhang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, devtools...@chromium.org, Enterprise Policy Reviews, Andrew Rayskiy, Henrique Ferreiro, (Julie)Jeongeun Kim, Raphael Kubo da Costa, Mathias Bynens, Mike Taylor, Hu, Ningxin, Permissions Reviews, Peter Beverloo, prerendering-reviews, Jiewei Qian, Rijubrata Bhaumik, Sadrul Chowdhury, Simon Hangl, Sarah Krakowiak, James Su, Victor Tan, Ian Vollick, Lin, Wanming, abigailbk...@google.com, aixba+wat...@chromium.org, ajayramamurth...@google.com, alexmo...@chromium.org, android-web...@chromium.org, andysjl...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, asvitki...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, browser-comp...@chromium.org, cbe-cep-eng...@google.com, cc-...@chromium.org, chasej...@chromium.org, chfreme...@chromium.org, chrome-gr...@chromium.org, chrome-intell...@chromium.org, chrome-intelligence-te...@google.com, chrome-tab-group-en...@google.com, chromeos-gfx-...@google.com, chromium-a...@chromium.org, chromiumme...@microsoft.com, creis...@chromium.org, crisrael+w...@google.com, cros-ed...@google.com, cros-print...@google.com, dclasson+w...@google.com, dewitt...@chromium.org, dfried...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+wa...@chromium.org, dmurph+watchi...@chromium.org, dmurph+watching...@chromium.org, dmurph+watc...@chromium.org, dmurph+watch...@chromium.org, dtapuska+ch...@chromium.org, dtraino...@chromium.org, dtseng...@chromium.org, dullweb...@chromium.org, edgesto...@microsoft.com, eme-r...@chromium.org, enne...@chromium.org, estali...@chromium.org, extension...@chromium.org, feature-me...@chromium.org, feature-v...@chromium.org, francisjp...@google.com, gavin...@chromium.org, gcasto+w...@chromium.org, hais+wat...@google.com, hansberry+w...@chromium.org, hansenmichael...@google.com, hayato...@chromium.org, headless...@chromium.org, iclella...@chromium.org, ipc-securi...@chromium.org, jackshira+w...@google.com, japhet+...@chromium.org, jasonrobe...@google.com, jatapiaro+wat...@google.com, jbauma...@chromium.org, jdeblas...@chromium.org, jeffreycohen+watc...@chromium.org, jophba...@chromium.org, josiah...@chromium.org, keithle...@chromium.org, kinuko+...@chromium.org, kinuko...@chromium.org, kuragin+web-ap...@chromium.org, kyungjunle...@google.com, loyso...@chromium.org, lwinston+watc...@google.com, mac-r...@chromium.org, marinacio...@chromium.org, martijn...@martijnc.be, mattreyno...@chromium.org, max+watc...@igalia.com, mbarowsky+watc...@chromium.org, media-cro...@chromium.org, mek+w...@chromium.org, mfoltz+wa...@chromium.org, mfoltz+wa...@chromium.org, mgiuca...@chromium.org, mkwst+w...@chromium.org, msrame...@chromium.org, navigation...@chromium.org, nektar...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org, nickdiego+wa...@igalia.com, nona+...@chromium.org, ntp-dev...@chromium.org, nwoked...@chromium.org, odejesu...@chromium.org, olka+...@chromium.org, ortuno...@chromium.org, oshima...@chromium.org, ozone-...@chromium.org, pdf-r...@chromium.org, penghu...@chromium.org, performance-m...@chromium.org, philli...@chromium.org, print-rev...@chromium.org, pushi+wat...@google.com, rhalava...@chromium.org, rmcelra...@chromium.org, roblia...@chromium.org, rsleev...@chromium.org, shuche...@chromium.org, sky+...@chromium.org, spang...@chromium.org, storage...@chromium.org, subresource-f...@chromium.org, suetfei+wa...@google.com, tburkar...@chromium.org, tgupta...@chromium.org, thiabaud+watch-d...@google.com, titoua...@chromium.org, toyosh...@chromium.org, tracing...@chromium.org, tranbaod...@chromium.org, translat...@chromium.org, trewin...@google.com, twifka...@chromium.org, vakh+safe_br...@chromium.org, vasilii+watchlis...@chromium.org, webap...@microsoft.com, wfh+...@chromium.org, xinghui...@chromium.org, xlythe+wa...@google.com, yhanad...@chromium.org, yuzo+...@chromium.org, zackha...@chromium.org, zelin+watch-we...@chromium.org
Attention needed from Daniel Cheng

Lei Zhang voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Cheng
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Gerrit-Attention: Daniel Cheng <dch...@chromium.org>
    Gerrit-Comment-Date: Tue, 07 Apr 2026 07:07:26 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Daniel Cheng (Gerrit)

    unread,
    Apr 7, 2026, 3:45:38 AMApr 7
    to Daniel Cheng, Lei Zhang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, devtools...@chromium.org, Enterprise Policy Reviews, Andrew Rayskiy, Henrique Ferreiro, (Julie)Jeongeun Kim, Raphael Kubo da Costa, Mathias Bynens, Mike Taylor, Hu, Ningxin, Permissions Reviews, Peter Beverloo, prerendering-reviews, Jiewei Qian, Rijubrata Bhaumik, Sadrul Chowdhury, Simon Hangl, Sarah Krakowiak, James Su, Victor Tan, Ian Vollick, Lin, Wanming, abigailbk...@google.com, aixba+wat...@chromium.org, ajayramamurth...@google.com, alexmo...@chromium.org, android-web...@chromium.org, andysjl...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, asvitki...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, browser-comp...@chromium.org, cbe-cep-eng...@google.com, cc-...@chromium.org, chasej...@chromium.org, chfreme...@chromium.org, chrome-gr...@chromium.org, chrome-intell...@chromium.org, chrome-intelligence-te...@google.com, chrome-tab-group-en...@google.com, chromeos-gfx-...@google.com, chromium-a...@chromium.org, chromiumme...@microsoft.com, creis...@chromium.org, crisrael+w...@google.com, cros-ed...@google.com, cros-print...@google.com, dclasson+w...@google.com, dewitt...@chromium.org, dfried...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+wa...@chromium.org, dmurph+watchi...@chromium.org, dmurph+watching...@chromium.org, dmurph+watc...@chromium.org, dmurph+watch...@chromium.org, dtapuska+ch...@chromium.org, dtraino...@chromium.org, dtseng...@chromium.org, dullweb...@chromium.org, edgesto...@microsoft.com, eme-r...@chromium.org, enne...@chromium.org, estali...@chromium.org, extension...@chromium.org, feature-me...@chromium.org, feature-v...@chromium.org, francisjp...@google.com, gavin...@chromium.org, gcasto+w...@chromium.org, hais+wat...@google.com, hansberry+w...@chromium.org, hansenmichael...@google.com, hayato...@chromium.org, headless...@chromium.org, iclella...@chromium.org, ipc-securi...@chromium.org, jackshira+w...@google.com, japhet+...@chromium.org, jasonrobe...@google.com, jatapiaro+wat...@google.com, jbauma...@chromium.org, jdeblas...@chromium.org, jeffreycohen+watc...@chromium.org, jophba...@chromium.org, josiah...@chromium.org, keithle...@chromium.org, kinuko+...@chromium.org, kinuko...@chromium.org, kuragin+web-ap...@chromium.org, kyungjunle...@google.com, loyso...@chromium.org, lwinston+watc...@google.com, mac-r...@chromium.org, marinacio...@chromium.org, martijn...@martijnc.be, mattreyno...@chromium.org, max+watc...@igalia.com, mbarowsky+watc...@chromium.org, media-cro...@chromium.org, mek+w...@chromium.org, mfoltz+wa...@chromium.org, mfoltz+wa...@chromium.org, mgiuca...@chromium.org, mkwst+w...@chromium.org, msrame...@chromium.org, navigation...@chromium.org, nektar...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org, nickdiego+wa...@igalia.com, nona+...@chromium.org, ntp-dev...@chromium.org, nwoked...@chromium.org, odejesu...@chromium.org, olka+...@chromium.org, ortuno...@chromium.org, oshima...@chromium.org, ozone-...@chromium.org, pdf-r...@chromium.org, penghu...@chromium.org, performance-m...@chromium.org, philli...@chromium.org, print-rev...@chromium.org, pushi+wat...@google.com, rhalava...@chromium.org, rmcelra...@chromium.org, roblia...@chromium.org, rsleev...@chromium.org, shuche...@chromium.org, sky+...@chromium.org, spang...@chromium.org, storage...@chromium.org, subresource-f...@chromium.org, suetfei+wa...@google.com, tburkar...@chromium.org, tgupta...@chromium.org, thiabaud+watch-d...@google.com, titoua...@chromium.org, toyosh...@chromium.org, tracing...@chromium.org, tranbaod...@chromium.org, translat...@chromium.org, trewin...@google.com, twifka...@chromium.org, vakh+safe_br...@chromium.org, vasilii+watchlis...@chromium.org, webap...@microsoft.com, wfh+...@chromium.org, xinghui...@chromium.org, xlythe+wa...@google.com, yhanad...@chromium.org, yuzo+...@chromium.org, zackha...@chromium.org, zelin+watch-we...@chromium.org

    Daniel Cheng 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: If52b10f4928b7920ea7b120754a1798c125fefa7
    Gerrit-Change-Number: 7730404
    Gerrit-PatchSet: 16
    Gerrit-Comment-Date: Tue, 07 Apr 2026 07:45:22 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Daniel Cheng (Gerrit)

    unread,
    Apr 7, 2026, 4:24:55 AMApr 7
    to Daniel Cheng, Lei Zhang, Chromium LUCI CQ, chromium...@chromium.org, chromotin...@chromium.org, devtools...@chromium.org, Enterprise Policy Reviews, Andrew Rayskiy, Henrique Ferreiro, (Julie)Jeongeun Kim, Raphael Kubo da Costa, Mathias Bynens, Mike Taylor, Hu, Ningxin, Permissions Reviews, Peter Beverloo, prerendering-reviews, Jiewei Qian, Rijubrata Bhaumik, Sadrul Chowdhury, Simon Hangl, Sarah Krakowiak, James Su, Victor Tan, Ian Vollick, Lin, Wanming, abigailbk...@google.com, aixba+wat...@chromium.org, ajayramamurth...@google.com, alexmo...@chromium.org, android-web...@chromium.org, andysjl...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, asvitki...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, browser-comp...@chromium.org, cbe-cep-eng...@google.com, cc-...@chromium.org, chasej...@chromium.org, chfreme...@chromium.org, chrome-gr...@chromium.org, chrome-intell...@chromium.org, chrome-intelligence-te...@google.com, chrome-tab-group-en...@google.com, chromeos-gfx-...@google.com, chromium-a...@chromium.org, chromiumme...@microsoft.com, creis...@chromium.org, crisrael+w...@google.com, cros-ed...@google.com, cros-print...@google.com, dclasson+w...@google.com, dewitt...@chromium.org, dfried...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+wa...@chromium.org, dmurph+watchi...@chromium.org, dmurph+watching...@chromium.org, dmurph+watc...@chromium.org, dmurph+watch...@chromium.org, dtapuska+ch...@chromium.org, dtraino...@chromium.org, dtseng...@chromium.org, dullweb...@chromium.org, edgesto...@microsoft.com, eme-r...@chromium.org, enne...@chromium.org, estali...@chromium.org, extension...@chromium.org, feature-me...@chromium.org, feature-v...@chromium.org, francisjp...@google.com, gavin...@chromium.org, gcasto+w...@chromium.org, hais+wat...@google.com, hansberry+w...@chromium.org, hansenmichael...@google.com, hayato...@chromium.org, headless...@chromium.org, iclella...@chromium.org, ipc-securi...@chromium.org, jackshira+w...@google.com, japhet+...@chromium.org, jasonrobe...@google.com, jatapiaro+wat...@google.com, jbauma...@chromium.org, jdeblas...@chromium.org, jeffreycohen+watc...@chromium.org, jophba...@chromium.org, josiah...@chromium.org, keithle...@chromium.org, kinuko+...@chromium.org, kinuko...@chromium.org, kuragin+web-ap...@chromium.org, kyungjunle...@google.com, loyso...@chromium.org, lwinston+watc...@google.com, mac-r...@chromium.org, marinacio...@chromium.org, martijn...@martijnc.be, mattreyno...@chromium.org, max+watc...@igalia.com, mbarowsky+watc...@chromium.org, media-cro...@chromium.org, mek+w...@chromium.org, mfoltz+wa...@chromium.org, mfoltz+wa...@chromium.org, mgiuca...@chromium.org, mkwst+w...@chromium.org, msrame...@chromium.org, navigation...@chromium.org, nektar...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org, nickdiego+wa...@igalia.com, nona+...@chromium.org, ntp-dev...@chromium.org, nwoked...@chromium.org, odejesu...@chromium.org, olka+...@chromium.org, ortuno...@chromium.org, oshima...@chromium.org, ozone-...@chromium.org, pdf-r...@chromium.org, penghu...@chromium.org, performance-m...@chromium.org, philli...@chromium.org, print-rev...@chromium.org, pushi+wat...@google.com, rhalava...@chromium.org, rmcelra...@chromium.org, roblia...@chromium.org, rsleev...@chromium.org, shuche...@chromium.org, sky+...@chromium.org, spang...@chromium.org, storage...@chromium.org, subresource-f...@chromium.org, suetfei+wa...@google.com, tburkar...@chromium.org, tgupta...@chromium.org, thiabaud+watch-d...@google.com, titoua...@chromium.org, toyosh...@chromium.org, tracing...@chromium.org, tranbaod...@chromium.org, translat...@chromium.org, trewin...@google.com, twifka...@chromium.org, vakh+safe_br...@chromium.org, vasilii+watchlis...@chromium.org, webap...@microsoft.com, wfh+...@chromium.org, xinghui...@chromium.org, xlythe+wa...@google.com, yhanad...@chromium.org, yuzo+...@chromium.org, zackha...@chromium.org, zelin+watch-we...@chromium.org
    Gerrit-Comment-Date: Tue, 07 Apr 2026 08:24:40 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Apr 7, 2026, 4:30:09 AMApr 7
    to Daniel Cheng, Lei Zhang, Akihiro Ota, chromium...@chromium.org, chromotin...@chromium.org, devtools...@chromium.org, Enterprise Policy Reviews, Andrew Rayskiy, Henrique Ferreiro, (Julie)Jeongeun Kim, Raphael Kubo da Costa, Mathias Bynens, Mike Taylor, Hu, Ningxin, Permissions Reviews, Peter Beverloo, prerendering-reviews, Jiewei Qian, Rijubrata Bhaumik, Sadrul Chowdhury, Simon Hangl, Sarah Krakowiak, James Su, Victor Tan, Ian Vollick, Lin, Wanming, abigailbk...@google.com, aixba+wat...@chromium.org, ajayramamurth...@google.com, alexmo...@chromium.org, android-web...@chromium.org, andysjl...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, asvitki...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, browser-comp...@chromium.org, cbe-cep-eng...@google.com, cc-...@chromium.org, chasej...@chromium.org, chfreme...@chromium.org, chrome-gr...@chromium.org, chrome-intell...@chromium.org, chrome-intelligence-te...@google.com, chrome-tab-group-en...@google.com, chromeos-gfx-...@google.com, chromium-a...@chromium.org, chromiumme...@microsoft.com, creis...@chromium.org, crisrael+w...@google.com, cros-ed...@google.com, cros-print...@google.com, dclasson+w...@google.com, dewitt...@chromium.org, dfried...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+wa...@chromium.org, dmurph+watchi...@chromium.org, dmurph+watching...@chromium.org, dmurph+watc...@chromium.org, dmurph+watch...@chromium.org, dtapuska+ch...@chromium.org, dtraino...@chromium.org, dtseng...@chromium.org, dullweb...@chromium.org, edgesto...@microsoft.com, eme-r...@chromium.org, enne...@chromium.org, estali...@chromium.org, extension...@chromium.org, feature-me...@chromium.org, feature-v...@chromium.org, francisjp...@google.com, gavin...@chromium.org, gcasto+w...@chromium.org, hais+wat...@google.com, hansberry+w...@chromium.org, hansenmichael...@google.com, hayato...@chromium.org, headless...@chromium.org, iclella...@chromium.org, ipc-securi...@chromium.org, jackshira+w...@google.com, japhet+...@chromium.org, jasonrobe...@google.com, jatapiaro+wat...@google.com, jbauma...@chromium.org, jdeblas...@chromium.org, jeffreycohen+watc...@chromium.org, jophba...@chromium.org, josiah...@chromium.org, keithle...@chromium.org, kinuko+...@chromium.org, kinuko...@chromium.org, kuragin+web-ap...@chromium.org, kyungjunle...@google.com, loyso...@chromium.org, lwinston+watc...@google.com, mac-r...@chromium.org, marinacio...@chromium.org, martijn...@martijnc.be, mattreyno...@chromium.org, max+watc...@igalia.com, mbarowsky+watc...@chromium.org, media-cro...@chromium.org, mek+w...@chromium.org, mfoltz+wa...@chromium.org, mfoltz+wa...@chromium.org, mgiuca...@chromium.org, mkwst+w...@chromium.org, msrame...@chromium.org, navigation...@chromium.org, nektar...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org, nickdiego+wa...@igalia.com, nona+...@chromium.org, ntp-dev...@chromium.org, nwoked...@chromium.org, odejesu...@chromium.org, olka+...@chromium.org, ortuno...@chromium.org, oshima...@chromium.org, ozone-...@chromium.org, pdf-r...@chromium.org, penghu...@chromium.org, performance-m...@chromium.org, philli...@chromium.org, print-rev...@chromium.org, pushi+wat...@google.com, rhalava...@chromium.org, rmcelra...@chromium.org, roblia...@chromium.org, rsleev...@chromium.org, shuche...@chromium.org, sky+...@chromium.org, spang...@chromium.org, storage...@chromium.org, subresource-f...@chromium.org, suetfei+wa...@google.com, tburkar...@chromium.org, tgupta...@chromium.org, thiabaud+watch-d...@google.com, titoua...@chromium.org, toyosh...@chromium.org, tracing...@chromium.org, tranbaod...@chromium.org, translat...@chromium.org, trewin...@google.com, twifka...@chromium.org, vakh+safe_br...@chromium.org, vasilii+watchlis...@chromium.org, webap...@microsoft.com, wfh+...@chromium.org, xinghui...@chromium.org, xlythe+wa...@google.com, yhanad...@chromium.org, yuzo+...@chromium.org, zackha...@chromium.org, zelin+watch-we...@chromium.org

    Chromium LUCI CQ submitted the change

    Unreviewed changes

    14 is the latest approved patch-set.
    No files were changed between the latest approved patch-set and the submitted one.

    Change information

    Commit message:
    Remove base/logging.h include from validation_errors.h

    This header is included in many C++ source files generated from .mojom
    and is fairly heavyweight. While moving the logging out of the headers
    is straightforward, array validation failures generate a std::string
    with some runtime details. `std::string_view` handles both cases nicely,
    but there is value in minimizing the includes in this file as much as
    possible. `const char*` and using `.c_str()` was the initial approach
    considered, but discarded as a bit too hacky after some prototyping.

    Instead, the helpers that create additional context for array validation
    failures now return a struct with details about the failure. The various
    validation error reporting functions have additional overloads that
    internally stringify the details so that validation errors are still
    reported in the exact same way.

    gemini-cli was used to quickly prototype some ideas as well as implement
    the overall CL, with some manual followups to improve naming and reduce
    duplication.

    One unintended side effect is a minor improvement in binary size, since
    the new error detail structs are trivially destructible, unlike
    std::string.
    Bug: 499476145
    Change-Id: If52b10f4928b7920ea7b120754a1798c125fefa7
    Commit-Queue: Daniel Cheng <dch...@chromium.org>
    Reviewed-by: Lei Zhang <the...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1610607}
    Files:
    • M mojo/public/cpp/bindings/lib/array_internal.cc
    • M mojo/public/cpp/bindings/lib/array_internal.h
    • M mojo/public/cpp/bindings/lib/validation_errors.cc
    • M mojo/public/cpp/bindings/lib/validation_errors.h
    Change size: M
    Delta: 4 files changed, 155 insertions(+), 68 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Lei Zhang
    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: If52b10f4928b7920ea7b120754a1798c125fefa7
    Gerrit-Change-Number: 7730404
    Gerrit-PatchSet: 17
    Gerrit-Owner: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Daniel Cheng <dch...@chromium.org>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
    Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
    Gerrit-CC: Andrew Rayskiy <green...@google.com>
    open
    diffy
    satisfied_requirement

    Eriko Kurimoto (Gerrit)

    unread,
    Apr 7, 2026, 4:44:25 AMApr 7
    to Chromium LUCI CQ, Daniel Cheng, Lei Zhang, chromium...@chromium.org, chromotin...@chromium.org, devtools...@chromium.org, Enterprise Policy Reviews, Andrew Rayskiy, Henrique Ferreiro, (Julie)Jeongeun Kim, Raphael Kubo da Costa, Mathias Bynens, Mike Taylor, Hu, Ningxin, Permissions Reviews, Peter Beverloo, prerendering-reviews, Jiewei Qian, Rijubrata Bhaumik, Sadrul Chowdhury, Simon Hangl, Sarah Krakowiak, James Su, Victor Tan, Ian Vollick, Lin, Wanming, abigailbk...@google.com, aixba+wat...@chromium.org, ajayramamurth...@google.com, alexmo...@chromium.org, android-web...@chromium.org, andysjl...@chromium.org, antoniosarto...@chromium.org, arthursonzog...@chromium.org, asvitki...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, browser-comp...@chromium.org, cbe-cep-eng...@google.com, cc-...@chromium.org, chasej...@chromium.org, chfreme...@chromium.org, chrome-gr...@chromium.org, chrome-intell...@chromium.org, chrome-intelligence-te...@google.com, chrome-tab-group-en...@google.com, chromeos-gfx-...@google.com, chromium-a...@chromium.org, chromiumme...@microsoft.com, creis...@chromium.org, crisrael+w...@google.com, cros-ed...@google.com, cros-print...@google.com, dclasson+w...@google.com, dewitt...@chromium.org, dfried...@chromium.org, dibyapal+wa...@chromium.org, dmurph+watchin...@chromium.org, dmurph+wat...@chromium.org, dmurph+wa...@chromium.org, dmurph+watchi...@chromium.org, dmurph+watching...@chromium.org, dmurph+watc...@chromium.org, dmurph+watch...@chromium.org, dtapuska+ch...@chromium.org, dtraino...@chromium.org, dtseng...@chromium.org, dullweb...@chromium.org, edgesto...@microsoft.com, eme-r...@chromium.org, enne...@chromium.org, estali...@chromium.org, extension...@chromium.org, feature-me...@chromium.org, feature-v...@chromium.org, francisjp...@google.com, gavin...@chromium.org, gcasto+w...@chromium.org, hais+wat...@google.com, hansberry+w...@chromium.org, hansenmichael...@google.com, hayato...@chromium.org, headless...@chromium.org, iclella...@chromium.org, ipc-securi...@chromium.org, jackshira+w...@google.com, japhet+...@chromium.org, jasonrobe...@google.com, jatapiaro+wat...@google.com, jbauma...@chromium.org, jdeblas...@chromium.org, jeffreycohen+watc...@chromium.org, jophba...@chromium.org, josiah...@chromium.org, keithle...@chromium.org, kinuko+...@chromium.org, kinuko...@chromium.org, kuragin+web-ap...@chromium.org, kyungjunle...@google.com, loyso...@chromium.org, lwinston+watc...@google.com, mac-r...@chromium.org, marinacio...@chromium.org, martijn...@martijnc.be, mattreyno...@chromium.org, max+watc...@igalia.com, mbarowsky+watc...@chromium.org, media-cro...@chromium.org, mek+w...@chromium.org, mfoltz+wa...@chromium.org, mfoltz+wa...@chromium.org, mgiuca...@chromium.org, mkwst+w...@chromium.org, msrame...@chromium.org, navigation...@chromium.org, nektar...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org, nickdiego+wa...@igalia.com, nona+...@chromium.org, ntp-dev...@chromium.org, nwoked...@chromium.org, odejesu...@chromium.org, olka+...@chromium.org, ortuno...@chromium.org, oshima...@chromium.org, ozone-...@chromium.org, pdf-r...@chromium.org, penghu...@chromium.org, performance-m...@chromium.org, philli...@chromium.org, print-rev...@chromium.org, pushi+wat...@google.com, rhalava...@chromium.org, rmcelra...@chromium.org, roblia...@chromium.org, rsleev...@chromium.org, shuche...@chromium.org, sky+...@chromium.org, spang...@chromium.org, storage...@chromium.org, subresource-f...@chromium.org, suetfei+wa...@google.com, tburkar...@chromium.org, tgupta...@chromium.org, thiabaud+watch-d...@google.com, titoua...@chromium.org, toyosh...@chromium.org, tracing...@chromium.org, tranbaod...@chromium.org, translat...@chromium.org, trewin...@google.com, twifka...@chromium.org, vakh+safe_br...@chromium.org, vasilii+watchlis...@chromium.org, webap...@microsoft.com, wfh+...@chromium.org, xinghui...@chromium.org, xlythe+wa...@google.com, yhanad...@chromium.org, yuzo+...@chromium.org, zackha...@chromium.org, zelin+watch-we...@chromium.org

    Eriko Kurimoto has created a revert of this change

    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: revert
    satisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages