| Index: net/ssl/server_bound_cert_store.h
|
| diff --git a/net/ssl/server_bound_cert_store.h b/net/ssl/server_bound_cert_store.h
|
| index 0de0f3eebd86e2b7dd2b484ad1bdffb5082c3c48..31226410bde992a299f3eb58070264fbac2114f9 100644
|
| --- a/net/ssl/server_bound_cert_store.h
|
| +++ b/net/ssl/server_bound_cert_store.h
|
| @@ -61,12 +61,11 @@ class NET_EXPORT ServerBoundCertStore
|
|
|
| typedef std::list<ServerBoundCert> ServerBoundCertList;
|
|
|
| - typedef base::Callback<void(
|
| - int,
|
| - const std::string&,
|
| - base::Time,
|
| - const std::string&,
|
| - const std::string&)> GetCertCallback;
|
| + typedef base::Callback<void(int,
|
| + const std::string&,
|
| + base::Time,
|
| + const std::string&,
|
| + const std::string&)> GetCertCallback;
|
| typedef base::Callback<void(const ServerBoundCertList&)> GetCertListCallback;
|
|
|
| virtual ~ServerBoundCertStore() {}
|
| @@ -77,20 +76,18 @@ class NET_EXPORT ServerBoundCertStore
|
| // result cannot be returned synchronously, GetServerBoundCert will
|
| // return ERR_IO_PENDING and the callback will be called with the result
|
| // asynchronously.
|
| - virtual int GetServerBoundCert(
|
| - const std::string& server_identifier,
|
| - base::Time* expiration_time,
|
| - std::string* private_key_result,
|
| - std::string* cert_result,
|
| - const GetCertCallback& callback) = 0;
|
| + virtual int GetServerBoundCert(const std::string& server_identifier,
|
| + base::Time* expiration_time,
|
| + std::string* private_key_result,
|
| + std::string* cert_result,
|
| + const GetCertCallback& callback) = 0;
|
|
|
| // Adds a server bound cert and the corresponding private key to the store.
|
| - virtual void SetServerBoundCert(
|
| - const std::string& server_identifier,
|
| - base::Time creation_time,
|
| - base::Time expiration_time,
|
| - const std::string& private_key,
|
| - const std::string& cert) = 0;
|
| + virtual void SetServerBoundCert(const std::string& server_identifier,
|
| + base::Time creation_time,
|
| + base::Time expiration_time,
|
| + const std::string& private_key,
|
| + const std::string& cert) = 0;
|
|
|
| // Removes a server bound cert and the corresponding private key from the
|
| // store.
|
|
|