| Index: net/base/default_origin_bound_cert_store.cc
|
| diff --git a/net/base/default_origin_bound_cert_store.cc b/net/base/default_origin_bound_cert_store.cc
|
| index 8104658f7b58896327f8a448de70bc87cd3ae015..3c311ca243510724b8673bada314222596a077cd 100644
|
| --- a/net/base/default_origin_bound_cert_store.cc
|
| +++ b/net/base/default_origin_bound_cert_store.cc
|
| @@ -30,6 +30,7 @@ void DefaultOriginBoundCertStore::FlushStore(
|
| bool DefaultOriginBoundCertStore::GetOriginBoundCert(
|
| const std::string& origin,
|
| SSLClientCertType* type,
|
| + base::Time* expiration_time,
|
| std::string* private_key_result,
|
| std::string* cert_result) {
|
| base::AutoLock autolock(lock_);
|
| @@ -42,6 +43,7 @@ bool DefaultOriginBoundCertStore::GetOriginBoundCert(
|
|
|
| OriginBoundCert* cert = it->second;
|
| *type = cert->type();
|
| + *expiration_time = cert->expiration_time();
|
| *private_key_result = cert->private_key();
|
| *cert_result = cert->cert();
|
|
|
| @@ -51,6 +53,7 @@ bool DefaultOriginBoundCertStore::GetOriginBoundCert(
|
| void DefaultOriginBoundCertStore::SetOriginBoundCert(
|
| const std::string& origin,
|
| SSLClientCertType type,
|
| + base::Time expiration_time,
|
| const std::string& private_key,
|
| const std::string& cert) {
|
| base::AutoLock autolock(lock_);
|
| @@ -58,7 +61,8 @@ void DefaultOriginBoundCertStore::SetOriginBoundCert(
|
|
|
| InternalDeleteOriginBoundCert(origin);
|
| InternalInsertOriginBoundCert(
|
| - origin, new OriginBoundCert(origin, type, private_key, cert));
|
| + origin,
|
| + new OriginBoundCert(origin, type, expiration_time, private_key, cert));
|
| }
|
|
|
| void DefaultOriginBoundCertStore::DeleteOriginBoundCert(
|
|
|