Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: simplify Browser::SetLoginItemSettings #35303

Merged
merged 1 commit into from
Aug 15, 2022

Conversation

codebytere
Copy link
Member

Description of Change

As of https://chromium-review.googlesource.com/c/chromium/src/+/2522876 - our previous implementation of RemoveFromLoginItems() is functionally identical to that in base::mac. Simplify by calling into that implementation instead, given we already call into base::mac::AddToLoginItems.

Checklist

Release Notes

Notes: none

@codebytere codebytere added semver/patch backwards-compatible bug fixes target/20-x-y target/21-x-y PR should also be added to the "21-x-y" branch. labels Aug 10, 2022
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Aug 10, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Aug 11, 2022
@zcbenz zcbenz merged commit f1216ca into main Aug 15, 2022
@zcbenz zcbenz deleted the simplify-RemoveFromLoginItems branch August 15, 2022 00:44
@release-clerk
Copy link

release-clerk bot commented Aug 15, 2022

No Release Notes

@trop
Copy link
Contributor

trop bot commented Aug 15, 2022

I have automatically backported this PR to "20-x-y", please check out #35328

@trop
Copy link
Contributor

trop bot commented Aug 15, 2022

I have automatically backported this PR to "21-x-y", please check out #35329

@trop trop bot added in-flight/21-x-y merged/21-x-y PR was merged to the "21-x-y" branch. and removed target/21-x-y PR should also be added to the "21-x-y" branch. in-flight/20-x-y labels Aug 15, 2022
schetle pushed a commit to schetle/electron that referenced this pull request Nov 3, 2022
refactor: simplify Browser::SetLoginItemSettings
khalwa pushed a commit to solarwindscloud/electron that referenced this pull request Feb 22, 2023
refactor: simplify Browser::SetLoginItemSettings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merged/21-x-y PR was merged to the "21-x-y" branch. semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants