// Copyright (c) 2017 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef ATOM_BROWSER_UI_CERTIFICATE_TRUST_H_ #define ATOM_BROWSER_UI_CERTIFICATE_TRUST_H_ #include #include "atom/common/promise_util.h" #include "base/memory/ref_counted.h" #include "net/cert/x509_certificate.h" namespace atom { class NativeWindow; } // namespace atom namespace certificate_trust { v8::Local ShowCertificateTrust( atom::NativeWindow* parent_window, const scoped_refptr& cert, const std::string& message); } // namespace certificate_trust #endif // ATOM_BROWSER_UI_CERTIFICATE_TRUST_H_