Errrrybody's a scoped_refptr now

This commit is contained in:
joshaber 2017-03-31 13:53:42 -04:00
parent deae70de4d
commit 16cc79354c
4 changed files with 7 additions and 6 deletions

View file

@ -8,6 +8,7 @@
#include <string>
#include "base/callback_forward.h"
#include "base/memory/ref_counted.h"
namespace net {
class X509Certificate;
@ -22,7 +23,7 @@ namespace api {
typedef base::Callback<void(bool result)> ShowTrustCallback;
void ShowCertificateTrustUI(atom::NativeWindow* parent_window,
const net::X509Certificate& cert,
const scoped_refptr<net::X509Certificate>& cert,
std::string message,
const ShowTrustCallback& callback);