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

Unified Diff: chrome/browser/cert_store.h

Issue 5024: Avoid locking cert_lock_ again from the same thread.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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 | chrome/browser/cert_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cert_store.h
===================================================================
--- chrome/browser/cert_store.h (revision 2613)
+++ chrome/browser/cert_store.h (working copy)
@@ -52,7 +52,8 @@
~CertStore();
// Remove the specified cert from id_to_cert_ and cert_to_id_.
- void RemoveCert(int cert_id);
+ // NOTE: the caller (RemoveCertsForRenderProcesHost) must hold cert_lock_.
+ void RemoveCertInternal(int cert_id);
// Removes all the certs associated with the specified process from the store.
void RemoveCertsForRenderProcesHost(int render_process_host_id);
« no previous file with comments | « no previous file | chrome/browser/cert_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698