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

Issue 10539073: Remove CachingValueStore in favor of an async ValueStoreFrontend. (Closed)

Created:
8 years, 6 months ago by Matt Perry
Modified:
8 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Remove CachingValueStore in favor of an async ValueStoreFrontend. After actually seeing the use cases for the value store in extension code, I realized that an async version would be more appropriate. This one will use less memory as well, since we won't need to keep the cache in memory. BUG=123366 TEST=no Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141514

Patch Set 1 #

Total comments: 3

Patch Set 2 : const-ref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -360 lines) Patch
D chrome/browser/value_store/caching_value_store.h View 1 chunk +0 lines, -74 lines 0 comments Download
D chrome/browser/value_store/caching_value_store.cc View 1 chunk +0 lines, -141 lines 0 comments Download
D chrome/browser/value_store/caching_value_store_unittest.cc View 1 chunk +0 lines, -113 lines 0 comments Download
A chrome/browser/value_store/value_store_frontend.h View 1 1 chunk +49 lines, -0 lines 0 comments Download
A chrome/browser/value_store/value_store_frontend.cc View 1 1 chunk +111 lines, -0 lines 0 comments Download
A + chrome/browser/value_store/value_store_frontend_unittest.cc View 4 chunks +32 lines, -29 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Matt Perry
Sorry for the flipflopping. Turns out CachingValueStore was a bad idea. I'll have another CL ...
8 years, 6 months ago (2012-06-08 20:35:40 UTC) #1
not at google - send to devlin
lgtm http://codereview.chromium.org/10539073/diff/1/chrome/browser/value_store/value_store_frontend.cc File chrome/browser/value_store/value_store_frontend.cc (right): http://codereview.chromium.org/10539073/diff/1/chrome/browser/value_store/value_store_frontend.cc#newcode20 chrome/browser/value_store/value_store_frontend.cc:20: void Get(const std::string& key, ValueStoreFrontend::ReadCallback callback) { ditto, ...
8 years, 6 months ago (2012-06-10 11:06:08 UTC) #2
Matt Perry
http://codereview.chromium.org/10539073/diff/1/chrome/browser/value_store/value_store_frontend.h File chrome/browser/value_store/value_store_frontend.h (right): http://codereview.chromium.org/10539073/diff/1/chrome/browser/value_store/value_store_frontend.h#newcode31 chrome/browser/value_store/value_store_frontend.h:31: void Get(const std::string& key, ReadCallback callback); On 2012/06/10 11:06:08, ...
8 years, 6 months ago (2012-06-11 20:09:15 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mpcomplete@chromium.org/10539073/8001
8 years, 6 months ago (2012-06-11 20:09:27 UTC) #4
commit-bot: I haz the power
8 years, 6 months ago (2012-06-11 21:53:11 UTC) #5
Change committed as 141514

Powered by Google App Engine
This is Rietveld 408576698