0
Files
src/components/safe_search_api
cfredric 8fdc224330 Rename MRUCache to LRUCache.
https://en.wikipedia.org/wiki/Cache_replacement_policies indicates that
this implementation is actually an LRU cache, not an MRU cache. An MRU
cache evicts the most-recently-used item first.

This CL also renames some variables and an enum for consistency, since
it would be weird for an `mru_cache_` member to actually be an LRU
cache.

Change-Id: Ia52d7dbf18785620466d99d362633fe7ecf7fb41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3214453
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Chris Fredrickson <cfredric@chromium.org>
Cr-Commit-Position: refs/heads/main@{#931363}
2021-10-14 03:24:00 +00:00
..
2021-10-14 03:24:00 +00:00