diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 20:41:30 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-15 20:41:30 +0000 |
commit | 658c173725ff824f22a103e2e984ef580260d593 (patch) | |
tree | 8fd52c1325e78c3f80b889fe8d9b2535e30442cd /build/release.vsprops | |
parent | af97358f77a8cd000e37d05ec204f8d3f6cc62e7 (diff) | |
download | chromium_src-658c173725ff824f22a103e2e984ef580260d593.zip chromium_src-658c173725ff824f22a103e2e984ef580260d593.tar.gz chromium_src-658c173725ff824f22a103e2e984ef580260d593.tar.bz2 |
Introduce parent and child entries for MemEntryImpl
Defines enums for kParentEntry and kChildEntry in
MemEntryImpl. Also has code in MemBackendImpl to
create a slave entry. Parent entries are non-sparse
entries until sparse API are called on them, and
they would start to keep a list of child entries.
Child entries hold partial content and are not
susposed to be accessible from the public and
are managed by the parent entry that created it.
Child entries are registered in the backend's
ranking list to allow individual eviction. More
details about how child entries are to be used
are in the comments.
TEST=DiskCacheEntryTest.MemoryOnlyEnumerationWithSlaveEntries
Review URL: http://codereview.chromium.org/120004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/release.vsprops')
0 files changed, 0 insertions, 0 deletions