| Index: net/base/default_origin_bound_cert_store.h
|
| diff --git a/net/base/default_origin_bound_cert_store.h b/net/base/default_origin_bound_cert_store.h
|
| index 38a4a56e4c30a98182105adb45c1ac69980fa099..f404908e56277c400b252f99cd6a4ff38d297fdf 100644
|
| --- a/net/base/default_origin_bound_cert_store.h
|
| +++ b/net/base/default_origin_bound_cert_store.h
|
| @@ -54,12 +54,16 @@ class NET_EXPORT DefaultOriginBoundCertStore : public OriginBoundCertStore {
|
| void FlushStore(Task* completion_task);
|
|
|
| // OriginBoundCertStore implementation.
|
| - virtual bool GetOriginBoundCert(const std::string& origin,
|
| - std::string* private_key_result,
|
| - std::string* cert_result) OVERRIDE;
|
| - virtual void SetOriginBoundCert(const std::string& origin,
|
| - const std::string& private_key,
|
| - const std::string& cert) OVERRIDE;
|
| + virtual bool GetOriginBoundCert(
|
| + const std::string& origin,
|
| + OriginBoundCertType* type,
|
| + std::string* private_key_result,
|
| + std::string* cert_result) OVERRIDE;
|
| + virtual void SetOriginBoundCert(
|
| + const std::string& origin,
|
| + OriginBoundCertType type,
|
| + const std::string& private_key,
|
| + const std::string& cert) OVERRIDE;
|
| virtual void DeleteOriginBoundCert(const std::string& origin) OVERRIDE;
|
| virtual void DeleteAll() OVERRIDE;
|
| virtual void GetAllOriginBoundCerts(
|
| @@ -118,15 +122,18 @@ class NET_EXPORT DefaultOriginBoundCertStore::OriginBoundCert {
|
| public:
|
| OriginBoundCert();
|
| OriginBoundCert(const std::string& origin,
|
| + OriginBoundCertType type,
|
| const std::string& privatekey,
|
| const std::string& cert);
|
|
|
| const std::string& origin() const { return origin_; }
|
| + OriginBoundCertType type() const { return type_; }
|
| const std::string& private_key() const { return private_key_; }
|
| const std::string& cert() const { return cert_; }
|
|
|
| private:
|
| std::string origin_;
|
| + OriginBoundCertType type_;
|
| std::string private_key_;
|
| std::string cert_;
|
| };
|
|
|