// 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 ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_ #define ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_ #include #include "net/cert/x509_certificate.h" namespace electron { class NativeWindow; } namespace v8 { class Promise; template class Local; } // namespace v8 namespace certificate_trust { v8::Local ShowCertificateTrust( electron::NativeWindow* parent_window, const scoped_refptr& cert, const std::string& message); } // namespace certificate_trust #endif // ELECTRON_SHELL_BROWSER_UI_CERTIFICATE_TRUST_H_