Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1390)

Unified Diff: net/base/server_bound_cert_service.h

Issue 11742037: Make ServerBoundCertStore interface async, move SQLiteServerBoundCertStore load onto DB thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/server_bound_cert_service.h
diff --git a/net/base/server_bound_cert_service.h b/net/base/server_bound_cert_service.h
index e02fbb8a4a4ad43f6a3b660a571e3e37a7303822..98f1e8e00f24dd5b02c55cac24a007976f8363d1 100644
--- a/net/base/server_bound_cert_service.h
+++ b/net/base/server_bound_cert_service.h
@@ -104,9 +104,20 @@ class NET_EXPORT ServerBoundCertService
uint64 inflight_joins() const { return inflight_joins_; }
private:
- void HandleResult(const std::string& server_identifier,
- int error,
- scoped_ptr<ServerBoundCertStore::ServerBoundCert> cert);
+ void GotServerBoundCert(const std::string& server_identifier,
+ SSLClientCertType type,
+ base::Time expiration_time,
+ const std::string& key,
+ const std::string& cert);
+ void GeneratedServerBoundCert(
+ const std::string& server_identifier,
+ int error,
+ scoped_ptr<ServerBoundCertStore::ServerBoundCert> cert);
+ void HandleResult(int error,
+ const std::string& server_identifier,
+ SSLClientCertType type,
+ const std::string& private_key,
+ const std::string& cert);
scoped_ptr<ServerBoundCertStore> server_bound_cert_store_;
scoped_refptr<base::TaskRunner> task_runner_;

Powered by Google App Engine
This is Rietveld 408576698