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

Unified Diff: net/base/default_origin_bound_cert_store.h

Issue 7585037: Add functionality to OriginBoundCertStore interface and implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« no previous file with comments | « no previous file | net/base/default_origin_bound_cert_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/default_origin_bound_cert_store.h
===================================================================
--- net/base/default_origin_bound_cert_store.h (revision 96316)
+++ net/base/default_origin_bound_cert_store.h (working copy)
@@ -57,16 +57,20 @@
virtual bool GetOriginBoundCert(const std::string& origin,
std::string* private_key_result,
std::string* cert_result) OVERRIDE;
- virtual bool SetOriginBoundCert(const std::string& origin,
+ virtual void SetOriginBoundCert(const std::string& origin,
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(
+ std::vector<OriginBoundCertInfo>* origin_bound_certs) OVERRIDE;
virtual int GetCertCount() OVERRIDE;
private:
static const size_t kMaxCerts;
// Deletes all of the certs. Does not delete them from |store_|.
- void DeleteAll();
+ void DeleteAllInMemory();
// Called by all non-static functions to ensure that the cert store has
// been initialized. This is not done during creating so it doesn't block
« no previous file with comments | « no previous file | net/base/default_origin_bound_cert_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698