Skip to content

refactor: use std::map::extract() in api::WebRequest - #48929

Merged
jkleinsc merged 1 commit into
mainfrom
refactor/use-std-map-extract-in-api-web-request
Nov 13, 2025
Merged

jkleinsc merged 1 commit into
mainfrom
refactor/use-std-map-extract-in-api-web-request

Conversation

@ckerr

@ckerr ckerr commented Nov 12, 2025 •

Copy link
Copy Markdown
Member

Description of Change

Small readability refactor to api::WebRequest::blocked_requests_: use extract() when we want to pull a BlockedRequest from the map and then process it.

Checklist

Release Notes

Notes: none.

@ckerr ckerr changed the title refactor: use std::map::extract() in api::WebRequest refactor: use std::map::extract() in api::WebRequest Nov 12, 2025
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Nov 12, 2025
@VerteDinde VerteDinde added semver/patch backwards-compatible bug fixes and removed semver/none labels Nov 12, 2025
Small readability refactor to api::WebRequest::blocked_requests_:
use extract() when we want to pull a BlockedRequest from the map
and then process it.
@ckerr
ckerr force-pushed the refactor/use-std-map-extract-in-api-web-request branch from 9b7c952 to 7648566 Compare November 13, 2025 00:14
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Nov 13, 2025
@jkleinsc
jkleinsc merged commit 16f1ec9 into main Nov 13, 2025
@release-clerk

release-clerk Bot commented Nov 13, 2025

Copy link
Copy Markdown

No Release Notes

@jkleinsc
jkleinsc deleted the refactor/use-std-map-extract-in-api-web-request branch November 13, 2025 21:50
nilayarya pushed a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
)

refactor: use std::map::extract() in api::WebRequest

Small readability refactor to api::WebRequest::blocked_requests_:
use extract() when we want to pull a BlockedRequest from the map
and then process it.
nilayarya added a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
)

refactor: use std::map::extract() in api::WebRequest

Small readability refactor to api::WebRequest::blocked_requests_:
use extract() when we want to pull a BlockedRequest from the map
and then process it.
nilayarya added a commit to nilayarya/electron that referenced this pull request Nov 21, 2025
)

refactor: use std::map::extract() in api::WebRequest

Small readability refactor to api::WebRequest::blocked_requests_:
use extract() when we want to pull a BlockedRequest from the map
and then process it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-backport semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants