It's going to be removed from Chromium, see https://crbug.com/812523.

/cc @electron/code-owners 
shell/browser/api/electron_api_app.cc
gin_helper::Arguments* args) {
  Browser::LoginItemSettings options;
  args->GetNext(&options);
  return Browser::Get()->GetLoginItemSettings(options);
}
#if defined(USE_NSS_CERTS)
void App::ImportCertificate(const base::DictionaryValue& options,
                            net::CompletionRepeatingCallback callback) {
  auto browser_context = ElectronBrowserContext::From("", false);
  if (!certificate_manager_model_) {
    auto copy = base::DictionaryValue::From(
        base::Value::ToUniquePtrValue(options.Clone()));
    CertificateManagerModel::Create(
        browser_context.get(),
        base::BindRepeating(&App::OnCertificateManagerModelCreated,
                            base::Unretained(this), base::Passed(&copy),
                            callback));
    return;
  }
  int rv = ImportIntoCertStore(certificate_manager_model_.get(), options);
  std::move(callback).Run(rv);
}
void App::OnCertificateManagerModelCreated(