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

Issue 302163005: Change InMemoryContentStore to use MRUCache. (Closed)

Created:
6 years, 6 months ago by nyquist
Modified:
6 years, 6 months ago
Reviewers:
cjhopman
CC:
chromium-reviews
Visibility:
Public.

Description

Change InMemoryContentStore to use MRUCache. This CL changes the backing store for the InMemoryContentStore to now be of type base::MRUCache. This ensures that the growth of the store is not unbounded. Tests are also added to ensure the new functionality works as expected. BUG=379642 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274754

Patch Set 1 #

Patch Set 2 : Start using MRUCache #

Patch Set 3 : Updated tests for expiry and fixed lint errors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+272 lines, -20 lines) Patch
M components/components_tests.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M components/dom_distiller/core/distilled_content_store.h View 1 2 3 chunks +13 lines, -9 lines 0 comments Download
M components/dom_distiller/core/distilled_content_store.cc View 1 3 chunks +9 lines, -5 lines 0 comments Download
A components/dom_distiller/core/distilled_content_store_unittest.cc View 1 2 1 chunk +243 lines, -0 lines 0 comments Download
M components/dom_distiller/core/dom_distiller_service.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M components/dom_distiller/core/task_tracker_unittest.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
nyquist
cjhopman: PTAL
6 years, 6 months ago (2014-06-02 06:45:30 UTC) #1
cjhopman
lgtm
6 years, 6 months ago (2014-06-03 21:23:26 UTC) #2
nyquist
The CQ bit was checked by nyquist@chromium.org
6 years, 6 months ago (2014-06-03 22:29:43 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nyquist@chromium.org/302163005/40001
6 years, 6 months ago (2014-06-03 22:31:21 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 09:40:01 UTC) #5
Message was sent while issue was closed.
Change committed as 274754

Powered by Google App Engine
This is Rietveld 408576698