Chromium Code Reviews
DescriptionClear disk cache when the cache is not initialized
BUG=24765
TEST=unit test, clear browsing data and the cache, media cache will
be cleared even if a media object was not loaded.
Since the disk cache backend in HttpCache is lazily initialized, clearing
the cache before it receives the first transaction would have no effect.
So initialize the disk cache explicitly when we clear the cache.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=31361
Patch Set 1 #
Total comments: 8
Patch Set 2 : nits fixed #Patch Set 3 : simple test #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||