network::RendererProcess

0 views
Skip to first unread message

Christopher Staite

unread,
Feb 3, 2026, 8:09:15 AMFeb 3
to ba...@chromium.org, alco...@chromium.org, content...@chromium.org
Hi all,

In https://crrrev.com/c/7498491 I made network::RendererProcess, but as I’ve been using it in https://crrev.com/c/7269607 it was pointed out that my naming was a little off.

The suggestion is to rename this network::RendererProcess -> network::RendererProcessId.  Not only does this mirror content::ChildProcessId, it also avoids the confusion of what it is.

Before I went ahead and did a refactor again on all those recently changed files, I thought I’d send a quick email to check this was a generally supported move.

While at it, I’d probably change network::OriginatingProcess -> network::OriginatingProcessId, but this is a little more contentious as it’s a union.  However, it’s still essentially just an ID under the hood.

As with all software, naming things is the hardest thing.

Thanks, Chris.

Kenichi Ishibashi

unread,
Feb 4, 2026, 9:34:43 PMFeb 4
to Christopher Staite, alco...@chromium.org, content...@chromium.org
Hi Christopher,

The suggestion makes sense to me.

Thanks,
Reply all
Reply to author
Forward
0 new messages