DescriptionMockAppCacheStorage implemention
This is a quick and easy 'mock' implementation of the storage interface
that doesn't put anything to disk.
We simply add an extra reference to objects when they're put in storage,
and remove the extra reference when they are removed from storage.
Responses are never really removed from the in-memory disk cache.
Delegate callbacks are made asyncly to appropiately mimic what will
happen with a real disk-backed storage impl that involves IO on a
background thread.
This is for use in unit tests and to initially bring up the appcache
related layout tests.
TEST=mock_appcache_storage_unittest.cc
BUG=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30017
Patch Set 1 #
Total comments: 1
Patch Set 2 : '' #Patch Set 3 : '' #
Total comments: 1
Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : '' #Patch Set 7 : '' #
Total comments: 46
Patch Set 8 : '' #Patch Set 9 : '' #
Total comments: 28
Patch Set 10 : '' #
Total comments: 2
Patch Set 11 : '' #
Total comments: 1
Messages
Total messages: 19 (0 generated)
|