Dummy out the certificate FromV8 converter
This commit is contained in:
parent
edf61d41ba
commit
deae70de4d
2 changed files with 10 additions and 0 deletions
|
@ -73,6 +73,12 @@ v8::Local<v8::Value> Converter<scoped_refptr<net::X509Certificate>>::ToV8(
|
||||||
return dict.GetHandle();
|
return dict.GetHandle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Converter<scoped_refptr<net::X509Certificate>>::FromV8(v8::Isolate* isolate,
|
||||||
|
v8::Local<v8::Value> val,
|
||||||
|
scoped_refptr<net::X509Certificate>* out) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
v8::Local<v8::Value> Converter<net::CertPrincipal>::ToV8(
|
v8::Local<v8::Value> Converter<net::CertPrincipal>::ToV8(
|
||||||
v8::Isolate* isolate, const net::CertPrincipal& val) {
|
v8::Isolate* isolate, const net::CertPrincipal& val) {
|
||||||
|
|
|
@ -33,6 +33,10 @@ template<>
|
||||||
struct Converter<scoped_refptr<net::X509Certificate>> {
|
struct Converter<scoped_refptr<net::X509Certificate>> {
|
||||||
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate,
|
||||||
const scoped_refptr<net::X509Certificate>& val);
|
const scoped_refptr<net::X509Certificate>& val);
|
||||||
|
|
||||||
|
static bool FromV8(v8::Isolate* isolate,
|
||||||
|
v8::Local<v8::Value> val,
|
||||||
|
scoped_refptr<net::X509Certificate>* out);
|
||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
|
|
Loading…
Reference in a new issue