Daniel Cheng (Gerrit)
unread,Jan 30, 2026, 1:49:26 AM (3 days ago) Jan 30Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Mikel Astiz, Daniel Cheng, Chromium LUCI CQ, chromium...@chromium.org, Sadrul Chowdhury, alexmo...@chromium.org, bnc+...@chromium.org, creis...@chromium.org, dcheng+c...@chromium.org, mac-r...@chromium.org, max+watc...@igalia.com, navigation...@chromium.org, net-r...@chromium.org, nickdiego+wa...@igalia.com, ozone-...@chromium.org
Attention needed from Mikel Astiz
Daniel Cheng voted and added 2 comments![Open in Gerrit]()
Votes added by Daniel Cheng
| Code-Review | +1 |
| Owners-Override | +1 |
2 comments
Patchset-level comments
File-level comment, Patchset 1 (Latest):Daniel Cheng .
unresolvedTBH I'm kind of fine with the existing name too. In my mind, `Pickle::WithData()` and `PickleIterator:WithData()` are both pretty clear, since Pickle is owning and PickleIterator is non-owning.
So the exceptional case is already called out (Pickle::With*Unowned*Buffer).
But if you want, I'm not really against this, though I don't love the current name. Maybe `Pickle::WithCopyOf()` or something instead would be better (from my perspective).
Whether or not we choose to rename, I think it's probably also worth throwing a `LIFETIME_BOUND` attribute on `WithUnownedBuffer()` even in the short-term.
Commit Message
Open in GerritRelated details
Attention is currently required from:
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I8e488b7b2810c572945eb8837f0a17ca42456503
Gerrit-Change-Number: 7532451
Gerrit-PatchSet: 1
Gerrit-Comment-Date: Fri, 30 Jan 2026 06:49:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes