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

Unified Diff: net/http/disk_based_cert_cache.h

Issue 983223004: base: Remove non-const refs from the MRUCache implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/http/disk_based_cert_cache.h
diff --git a/net/http/disk_based_cert_cache.h b/net/http/disk_based_cert_cache.h
index 347d2f0bb1dde960042f96af08acdbc6b6068db2..928c871eb89e39026ea945660b90054fba8f1f4b 100644
--- a/net/http/disk_based_cert_cache.h
+++ b/net/http/disk_based_cert_cache.h
@@ -63,7 +63,7 @@ class NET_EXPORT_PRIVATE DiskBasedCertCache {
// A functor used to free an OSCertHandle. Used by the MRUCertCache.
struct CertFree {
- void operator()(X509Certificate::OSCertHandle cert_handle);
+ void operator()(X509Certificate::OSCertHandle* cert_handle);
};
// An in-memory cache that is used to prevent redundantly reading

Powered by Google App Engine
This is Rietveld 408576698