Skip to content

chore: remove unused std c++ includes - #52468

Merged
jkleinsc merged 4 commits into
mainfrom
chore/remove-unused-std-includes
Jul 28, 2026
Merged

jkleinsc merged 4 commits into
mainfrom
chore/remove-unused-std-includes

Conversation

@ckerr

@ckerr ckerr commented Jul 27, 2026 •

Copy link
Copy Markdown
Member

Description of Change

No behavior changes, just a cleanup pass to remove #include calls to std c++ headers that aren't used in the file that includes them.

Checklist

Release Notes

Notes: none

@nikwen nikwen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dsanders11 dsanders11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning these up!

These can be a bit tricky, had Claude review and verified and dropped some comments. With Include What You Use (IWYU) principles we want to be sure to include a header if any of the symbols are used in a file, even if the symbols aren't named directly (implicit constructing types, chaining access on return types, etc). That ensures that we are accurately accounting for which files need a header.

Comment thread shell/common/keyboard_util.cc Resolved
Comment thread shell/browser/plugins/plugin_utils.cc Resolved
Comment thread shell/browser/browser_linux.cc Resolved
Comment thread shell/common/process_util.cc Resolved
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Jul 28, 2026
@jkleinsc
jkleinsc merged commit 57435e5 into main Jul 28, 2026
116 of 118 checks passed
@release-clerk

release-clerk Bot commented Jul 28, 2026

Copy link
Copy Markdown

No Release Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants