Skip to content

feat: promisify session.clearStorageData() - #17249

Merged
codebytere merged 1 commit into
masterfrom
promisify-clearstoragedata
Mar 8, 2019
Merged

codebytere merged 1 commit into
masterfrom
promisify-clearstoragedata

Conversation

@codebytere

@codebytere codebytere commented Mar 6, 2019 •

Copy link
Copy Markdown
Member

Description of Change

This PR promisifies session.clearStorageData(). I removed the synchronous version, since i think it's not altogether necessary and simplifies the overall changes that need to be made.

Checklist

Release Notes

Notes: Converted session.clearStorageData() such that it returns a Promise instead of taking a callback.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Mar 6, 2019
@codebytere codebytere changed the title feat: promisify session.clearStorageData feat: promisify session.clearStorageData() Mar 7, 2019
Comment thread atom/browser/api/atom_api_session.cc Resolved
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Mar 7, 2019
Comment thread atom/browser/api/atom_api_session.cc Resolved
@codebytere
codebytere force-pushed the promisify-clearstoragedata branch 2 times, most recently from 0bfa9bb to 1088c4e Compare March 8, 2019 04:55
@codebytere codebytere added the semver/major incompatible API changes label Mar 8, 2019

@deepak1556 deepak1556 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.

LGTM, with style change.

Comment thread atom/browser/api/atom_api_session.cc Resolved
@codebytere
codebytere force-pushed the promisify-clearstoragedata branch from 1088c4e to 375a867 Compare March 8, 2019 16:01
@codebytere
codebytere merged commit bbfa63f into master Mar 8, 2019
@release-clerk

release-clerk Bot commented Mar 8, 2019

Copy link
Copy Markdown

Release Notes Persisted

Converted session.clearStorageData() such that it returns a Promise instead of taking a callback.

@codebytere
codebytere deleted the promisify-clearstoragedata branch March 8, 2019 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/major incompatible API changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants