spanification: automatically spanify .../media_router/common/providers/cast/certificate/cast_crl.cc etc. [chromium/src : main]

0 views
Skip to first unread message

Simeon Anfinrud (Gerrit)

unread,
Jan 16, 2026, 3:49:46 PM (2 days ago) Jan 16
to Bryan Enrique Gonzalez, Chromium LUCI CQ, Daniel Angulo, Sergio Solano, Roberto Torres, chromium...@chromium.org, dougste...@chromium.org, feature-me...@chromium.org, mfoltz+wa...@chromium.org, ryanchu...@chromium.org
Attention needed from Bryan Enrique Gonzalez, Daniel Angulo, Roberto Torres and Sergio Solano

Simeon Anfinrud voted and added 3 comments

Votes added by Simeon Anfinrud

Code-Review+1

3 comments

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Simeon Anfinrud . resolved

lgtm % style nits

File components/media_router/common/providers/cast/certificate/cast_fallback_crl.h
Line 11, Patchset 2 (Latest):const auto kCastFallbackCRLs = std::to_array<unsigned char>({
Simeon Anfinrud . unresolved

should this be `inline constexpr` and add header guards back? Doing archaeology on https://chromium-review.googlesource.com/c/chromium/src/+/4740976, it seems the lack of header guards was not really for any good reason besides inlining the array in the header file as a `const std::string` (which later became `const unsigned char[]`) tripping up other warnings.

Line 8, Patchset 2 (Latest):#include <array>
Simeon Anfinrud . unresolved

nit: remove extraneous newline between includes?

Open in Gerrit

Related details

Attention is currently required from:
  • Bryan Enrique Gonzalez
  • Daniel Angulo
  • Roberto Torres
  • Sergio Solano
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: I34ef9ab8dbe617a92d4b46e3a15d37b00c5b609e
Gerrit-Change-Number: 7489271
Gerrit-PatchSet: 2
Gerrit-Owner: Bryan Enrique Gonzalez <bryanen...@google.com>
Gerrit-Reviewer: Bryan Enrique Gonzalez <bryanen...@google.com>
Gerrit-Reviewer: Simeon Anfinrud <san...@chromium.org>
Gerrit-CC: Daniel Angulo <angd...@google.com>
Gerrit-CC: Roberto Torres <jr...@google.com>
Gerrit-CC: Sergio Solano <sergio...@google.com>
Gerrit-Attention: Bryan Enrique Gonzalez <bryanen...@google.com>
Gerrit-Attention: Daniel Angulo <angd...@google.com>
Gerrit-Attention: Sergio Solano <sergio...@google.com>
Gerrit-Attention: Roberto Torres <jr...@google.com>
Gerrit-Comment-Date: Fri, 16 Jan 2026 20:49:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Bryan Enrique Gonzalez (Gerrit)

unread,
Jan 16, 2026, 4:38:46 PM (2 days ago) Jan 16
to Stephen Nusko, Simeon Anfinrud, Chromium LUCI CQ, Daniel Angulo, Sergio Solano, Roberto Torres, chromium...@chromium.org, dougste...@chromium.org, feature-me...@chromium.org, mfoltz+wa...@chromium.org, ryanchu...@chromium.org
Attention needed from Daniel Angulo, Roberto Torres, Sergio Solano, Simeon Anfinrud and Stephen Nusko

Bryan Enrique Gonzalez added 2 comments

File components/media_router/common/providers/cast/certificate/cast_fallback_crl.h
Line 11, Patchset 2 (Latest):const auto kCastFallbackCRLs = std::to_array<unsigned char>({
Simeon Anfinrud . unresolved

should this be `inline constexpr` and add header guards back? Doing archaeology on https://chromium-review.googlesource.com/c/chromium/src/+/4740976, it seems the lack of header guards was not really for any good reason besides inlining the array in the header file as a `const std::string` (which later became `const unsigned char[]`) tripping up other warnings.

Bryan Enrique Gonzalez

I understand this file has no guards because of the comment on line 4
`// no-include-guard-because-pch-file`
Just to make sure, we should add the header guards and remove that comment?

Simeon Anfinrud . resolved

nit: remove extraneous newline between includes?

Bryan Enrique Gonzalez

I think this is part of `git cl format` because every time I try to remove it, gets added back.

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Angulo
  • Roberto Torres
  • Sergio Solano
  • Simeon Anfinrud
  • Stephen Nusko
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: I34ef9ab8dbe617a92d4b46e3a15d37b00c5b609e
Gerrit-Change-Number: 7489271
Gerrit-PatchSet: 2
Gerrit-Owner: Bryan Enrique Gonzalez <bryanen...@google.com>
Gerrit-Reviewer: Bryan Enrique Gonzalez <bryanen...@google.com>
Gerrit-Reviewer: Simeon Anfinrud <san...@chromium.org>
Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
Gerrit-CC: Daniel Angulo <angd...@google.com>
Gerrit-CC: Roberto Torres <jr...@google.com>
Gerrit-CC: Sergio Solano <sergio...@google.com>
Gerrit-Attention: Simeon Anfinrud <san...@chromium.org>
Gerrit-Attention: Stephen Nusko <nus...@chromium.org>
Gerrit-Attention: Daniel Angulo <angd...@google.com>
Gerrit-Attention: Sergio Solano <sergio...@google.com>
Gerrit-Attention: Roberto Torres <jr...@google.com>
Gerrit-Comment-Date: Fri, 16 Jan 2026 21:38:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Simeon Anfinrud <san...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Simeon Anfinrud (Gerrit)

unread,
Jan 16, 2026, 4:52:17 PM (2 days ago) Jan 16
to Bryan Enrique Gonzalez, Stephen Nusko, Chromium LUCI CQ, Daniel Angulo, Sergio Solano, Roberto Torres, chromium...@chromium.org, dougste...@chromium.org, feature-me...@chromium.org, mfoltz+wa...@chromium.org, ryanchu...@chromium.org
Attention needed from Bryan Enrique Gonzalez, Daniel Angulo, Roberto Torres, Sergio Solano and Stephen Nusko

Simeon Anfinrud added 2 comments

File components/media_router/common/providers/cast/certificate/cast_fallback_crl.h
Line 11, Patchset 2 (Latest):const auto kCastFallbackCRLs = std::to_array<unsigned char>({
Simeon Anfinrud . unresolved

should this be `inline constexpr` and add header guards back? Doing archaeology on https://chromium-review.googlesource.com/c/chromium/src/+/4740976, it seems the lack of header guards was not really for any good reason besides inlining the array in the header file as a `const std::string` (which later became `const unsigned char[]`) tripping up other warnings.

Bryan Enrique Gonzalez

I understand this file has no guards because of the comment on line 4
`// no-include-guard-because-pch-file`
Just to make sure, we should add the header guards and remove that comment?

Simeon Anfinrud

Yeah, that and make the variables `inline constexpr`. I don't see any reason, based on the way this file is used, for it to be a header file without a header guard anymore as long as the variables are `inline constexpr`.

Simeon Anfinrud . resolved

nit: remove extraneous newline between includes?

Bryan Enrique Gonzalez

I think this is part of `git cl format` because every time I try to remove it, gets added back.

Simeon Anfinrud

Ack, let's do whatever `git cl format` prescribes.

Open in Gerrit

Related details

Attention is currently required from:
  • Bryan Enrique Gonzalez
  • Daniel Angulo
  • Roberto Torres
  • Sergio Solano
  • Stephen Nusko
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: I34ef9ab8dbe617a92d4b46e3a15d37b00c5b609e
Gerrit-Change-Number: 7489271
Gerrit-PatchSet: 2
Gerrit-Owner: Bryan Enrique Gonzalez <bryanen...@google.com>
Gerrit-Reviewer: Bryan Enrique Gonzalez <bryanen...@google.com>
Gerrit-Reviewer: Simeon Anfinrud <san...@chromium.org>
Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
Gerrit-CC: Daniel Angulo <angd...@google.com>
Gerrit-CC: Roberto Torres <jr...@google.com>
Gerrit-CC: Sergio Solano <sergio...@google.com>
Gerrit-Attention: Bryan Enrique Gonzalez <bryanen...@google.com>
Gerrit-Attention: Stephen Nusko <nus...@chromium.org>
Gerrit-Attention: Daniel Angulo <angd...@google.com>
Gerrit-Attention: Sergio Solano <sergio...@google.com>
Gerrit-Attention: Roberto Torres <jr...@google.com>
Gerrit-Comment-Date: Fri, 16 Jan 2026 21:52:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bryan Enrique Gonzalez <bryanen...@google.com>
Comment-In-Reply-To: Simeon Anfinrud <san...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Bryan Enrique Gonzalez (Gerrit)

unread,
Jan 16, 2026, 5:07:29 PM (2 days ago) Jan 16
to Stephen Nusko, Simeon Anfinrud, Chromium LUCI CQ, Daniel Angulo, Sergio Solano, Roberto Torres, chromium...@chromium.org, dougste...@chromium.org, feature-me...@chromium.org, mfoltz+wa...@chromium.org, ryanchu...@chromium.org
Attention needed from Daniel Angulo, Roberto Torres, Sergio Solano, Simeon Anfinrud and Stephen Nusko

Bryan Enrique Gonzalez added 1 comment

File components/media_router/common/providers/cast/certificate/cast_fallback_crl.h
Line 11, Patchset 2:const auto kCastFallbackCRLs = std::to_array<unsigned char>({
Simeon Anfinrud . resolved

should this be `inline constexpr` and add header guards back? Doing archaeology on https://chromium-review.googlesource.com/c/chromium/src/+/4740976, it seems the lack of header guards was not really for any good reason besides inlining the array in the header file as a `const std::string` (which later became `const unsigned char[]`) tripping up other warnings.

Bryan Enrique Gonzalez

I understand this file has no guards because of the comment on line 4
`// no-include-guard-because-pch-file`
Just to make sure, we should add the header guards and remove that comment?

Simeon Anfinrud

Yeah, that and make the variables `inline constexpr`. I don't see any reason, based on the way this file is used, for it to be a header file without a header guard anymore as long as the variables are `inline constexpr`.

Bryan Enrique Gonzalez

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Daniel Angulo
  • Roberto Torres
  • Sergio Solano
  • Simeon Anfinrud
  • Stephen Nusko
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: I34ef9ab8dbe617a92d4b46e3a15d37b00c5b609e
    Gerrit-Change-Number: 7489271
    Gerrit-PatchSet: 3
    Gerrit-Owner: Bryan Enrique Gonzalez <bryanen...@google.com>
    Gerrit-Reviewer: Bryan Enrique Gonzalez <bryanen...@google.com>
    Gerrit-Reviewer: Simeon Anfinrud <san...@chromium.org>
    Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
    Gerrit-CC: Daniel Angulo <angd...@google.com>
    Gerrit-CC: Roberto Torres <jr...@google.com>
    Gerrit-CC: Sergio Solano <sergio...@google.com>
    Gerrit-Attention: Simeon Anfinrud <san...@chromium.org>
    Gerrit-Attention: Stephen Nusko <nus...@chromium.org>
    Gerrit-Attention: Daniel Angulo <angd...@google.com>
    Gerrit-Attention: Sergio Solano <sergio...@google.com>
    Gerrit-Attention: Roberto Torres <jr...@google.com>
    Gerrit-Comment-Date: Fri, 16 Jan 2026 22:07:20 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Simeon Anfinrud <san...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Simeon Anfinrud (Gerrit)

    unread,
    Jan 16, 2026, 5:39:09 PM (2 days ago) Jan 16
    to Bryan Enrique Gonzalez, Stephen Nusko, Chromium LUCI CQ, Daniel Angulo, Sergio Solano, Roberto Torres, chromium...@chromium.org, dougste...@chromium.org, feature-me...@chromium.org, mfoltz+wa...@chromium.org, ryanchu...@chromium.org
    Attention needed from Bryan Enrique Gonzalez, Daniel Angulo, Roberto Torres, Sergio Solano and Stephen Nusko

    Simeon Anfinrud voted and added 1 comment

    Votes added by Simeon Anfinrud

    Code-Review+1

    1 comment

    File components/media_router/common/providers/cast/certificate/cast_fallback_crl.h
    Line 11, Patchset 2:const auto kCastFallbackCRLs = std::to_array<unsigned char>({
    Simeon Anfinrud . resolved

    should this be `inline constexpr` and add header guards back? Doing archaeology on https://chromium-review.googlesource.com/c/chromium/src/+/4740976, it seems the lack of header guards was not really for any good reason besides inlining the array in the header file as a `const std::string` (which later became `const unsigned char[]`) tripping up other warnings.

    Bryan Enrique Gonzalez

    I understand this file has no guards because of the comment on line 4
    `// no-include-guard-because-pch-file`
    Just to make sure, we should add the header guards and remove that comment?

    Simeon Anfinrud

    Yeah, that and make the variables `inline constexpr`. I don't see any reason, based on the way this file is used, for it to be a header file without a header guard anymore as long as the variables are `inline constexpr`.

    Bryan Enrique Gonzalez

    Done

    Simeon Anfinrud

    thanks!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Bryan Enrique Gonzalez
    • Daniel Angulo
    • Roberto Torres
    • Sergio Solano
    • Stephen Nusko
    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: I34ef9ab8dbe617a92d4b46e3a15d37b00c5b609e
      Gerrit-Change-Number: 7489271
      Gerrit-PatchSet: 3
      Gerrit-Owner: Bryan Enrique Gonzalez <bryanen...@google.com>
      Gerrit-Reviewer: Bryan Enrique Gonzalez <bryanen...@google.com>
      Gerrit-Reviewer: Simeon Anfinrud <san...@chromium.org>
      Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
      Gerrit-CC: Daniel Angulo <angd...@google.com>
      Gerrit-CC: Roberto Torres <jr...@google.com>
      Gerrit-CC: Sergio Solano <sergio...@google.com>
      Gerrit-Attention: Bryan Enrique Gonzalez <bryanen...@google.com>
      Gerrit-Attention: Stephen Nusko <nus...@chromium.org>
      Gerrit-Attention: Daniel Angulo <angd...@google.com>
      Gerrit-Attention: Sergio Solano <sergio...@google.com>
      Gerrit-Attention: Roberto Torres <jr...@google.com>
      Gerrit-Comment-Date: Fri, 16 Jan 2026 22:39:00 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Bryan Enrique Gonzalez <bryanen...@google.com>
      Comment-In-Reply-To: Simeon Anfinrud <san...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages