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

Issue 12847012: Adding disk_cache::Entry implementation. (Closed)

Created:
7 years, 9 months ago by agayev
Modified:
7 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, sadrul, gavinp+disk_chromium.org, ben+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Adding disk_cache::Entry implementation. BUG=157187 TEST=net_unittests --gtest_filter="FlashCacheTest.*" --gtest_repeat=10 --shuffle Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192896

Patch Set 1 #

Patch Set 2 : Added cache thread. #

Patch Set 3 : Got rid of redundant file. #

Patch Set 4 : Implemented Init. #

Total comments: 6

Patch Set 5 : Addressed comments, added comments. #

Total comments: 17

Patch Set 6 : Addressed comments. #

Total comments: 11

Patch Set 7 : Fixed comments. #

Patch Set 8 : Make destructor private. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+458 lines, -9 lines) Patch
A net/disk_cache/flash/flash_entry_impl.h View 1 2 3 4 5 6 1 chunk +98 lines, -0 lines 0 comments Download
A net/disk_cache/flash/flash_entry_impl.cc View 1 2 3 4 5 1 chunk +149 lines, -0 lines 0 comments Download
A net/disk_cache/flash/flash_entry_unittest.cc View 1 2 3 4 5 6 1 chunk +48 lines, -0 lines 0 comments Download
A net/disk_cache/flash/internal_entry.h View 1 2 3 4 5 6 7 1 chunk +63 lines, -0 lines 0 comments Download
A net/disk_cache/flash/internal_entry.cc View 1 2 3 1 chunk +86 lines, -0 lines 0 comments Download
M net/disk_cache/flash/log_store_entry.h View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M net/disk_cache/flash/log_store_entry.cc View 1 2 3 5 chunks +8 lines, -8 lines 0 comments Download
M net/net.gyp View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
agayev
PTAL. I hope to add features to this CL and iterating until it is complete.
7 years, 9 months ago (2013-03-22 00:54:14 UTC) #1
rvargas (doing something else)
looks good so far
7 years, 9 months ago (2013-03-22 16:45:00 UTC) #2
agayev
Added Init logic, please review. The rest is not implemented yet. Also, the test fails, ...
7 years, 9 months ago (2013-03-26 17:23:53 UTC) #3
rvargas (doing something else)
Looks fine. Having the code that creates entries would be much better because there is ...
7 years, 9 months ago (2013-03-28 18:36:25 UTC) #4
agayev
PTAL. https://codereview.chromium.org/12847012/diff/8001/net/disk_cache/flash/flash_entry_impl.cc File net/disk_cache/flash/flash_entry_impl.cc (right): https://codereview.chromium.org/12847012/diff/8001/net/disk_cache/flash/flash_entry_impl.cc#newcode41 net/disk_cache/flash/flash_entry_impl.cc:41: Bind(&InternalEntry::Init, old_internal_entry_), On 2013/03/28 18:36:25, rvargas wrote: > ...
7 years, 8 months ago (2013-04-04 22:07:57 UTC) #5
rvargas (doing something else)
https://codereview.chromium.org/12847012/diff/20001/net/disk_cache/flash/flash_entry_impl.h File net/disk_cache/flash/flash_entry_impl.h (right): https://codereview.chromium.org/12847012/diff/20001/net/disk_cache/flash/flash_entry_impl.h#newcode28 net/disk_cache/flash/flash_entry_impl.h:28: // Context switches are slow on Android. In order ...
7 years, 8 months ago (2013-04-05 18:15:40 UTC) #6
agayev
https://codereview.chromium.org/12847012/diff/20001/net/disk_cache/flash/flash_entry_impl.h File net/disk_cache/flash/flash_entry_impl.h (right): https://codereview.chromium.org/12847012/diff/20001/net/disk_cache/flash/flash_entry_impl.h#newcode28 net/disk_cache/flash/flash_entry_impl.h:28: // Context switches are slow on Android. In order ...
7 years, 8 months ago (2013-04-05 22:26:45 UTC) #7
rvargas (doing something else)
almost https://codereview.chromium.org/12847012/diff/20001/net/disk_cache/flash/flash_entry_unittest.cc File net/disk_cache/flash/flash_entry_unittest.cc (right): https://codereview.chromium.org/12847012/diff/20001/net/disk_cache/flash/flash_entry_unittest.cc#newcode27 net/disk_cache/flash/flash_entry_unittest.cc:27: entry->AddRef(); On 2013/04/05 22:26:45, agayev wrote: > On ...
7 years, 8 months ago (2013-04-06 01:25:23 UTC) #8
agayev
https://codereview.chromium.org/12847012/diff/30001/net/disk_cache/flash/flash_entry_impl.h File net/disk_cache/flash/flash_entry_impl.h (right): https://codereview.chromium.org/12847012/diff/30001/net/disk_cache/flash/flash_entry_impl.h#newcode31 net/disk_cache/flash/flash_entry_impl.h:31: // All asynchronous calls on a new entry are ...
7 years, 8 months ago (2013-04-06 03:24:28 UTC) #9
rvargas (doing something else)
lgtm
7 years, 8 months ago (2013-04-08 17:51:22 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/agayev@chromium.org/12847012/46001
7 years, 8 months ago (2013-04-08 19:53:26 UTC) #11
commit-bot: I haz the power
7 years, 8 months ago (2013-04-08 21:16:54 UTC) #12
Message was sent while issue was closed.
Change committed as 192896

Powered by Google App Engine
This is Rietveld 408576698