mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
feat: introduce os_crypt_async in safeStorage (#49054)
* feat: support Freedesktop Secret Service OSCrypt client Refs https://issues.chromium.org/issues/40086962 Refs https://issues.chromium.org/issues/447372315 * chore: rework to async interface * refactor: allow customizing freedesktop config * docs: add more async impl info * refactor: reject when temporarily unavailable * chore: feedback from review * chore: push_back => emplace_back
This commit is contained in:
@@ -192,9 +192,8 @@ void Browser::DidFinishLaunching(base::DictValue launch_info) {
|
||||
}
|
||||
|
||||
is_ready_ = true;
|
||||
if (ready_promise_) {
|
||||
if (ready_promise_)
|
||||
ready_promise_->Resolve();
|
||||
}
|
||||
|
||||
for (BrowserObserver& observer : observers_)
|
||||
observer.OnFinishLaunching(launch_info.Clone());
|
||||
|
||||
Reference in New Issue
Block a user