Comment #3 on issue 24765 by [email protected]: Clear browser data
doesn't clear media cache
http://code.google.com/p/chromium/issues/detail?id=24765
The following revision refers to this bug:
http://src.chromium.org/viewvc/chrome?view=rev&revision=31361
------------------------------------------------------------------------
r31361 | [email protected] | 2009-11-06 18:27:23 -0800 (Fri, 06 Nov 2009)
| 11 lines
Changed paths:
M
http://src.chromium.org/viewvc/chrome/trunk/src/chrome/browser/browsing_data_remover.cc?r1=31361&r2=31360
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_cache.cc?r1=31361&r2=31360
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_cache.h?r1=31361&r2=31360
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/http/http_cache_unittest.cc?r1=31361&r2=31360
M
http://src.chromium.org/viewvc/chrome/trunk/src/net/url_request/view_cache_helper.cc?r1=31361&r2=31360
Clear 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.
Review URL: http://codereview.chromium.org/378015
------------------------------------------------------------------------
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---