summaryrefslogtreecommitdiffstats
path: root/printing/printing_context_cairo.cc
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 17:49:42 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 17:49:42 +0000
commit67b09ecdd8769cd291dbd0e52e73826771cf29b5 (patch)
tree7d11e7c41d0f448767a0676091f714a2d6712991 /printing/printing_context_cairo.cc
parent0bad9b1895f6f0264527a9986044d9d1ee9152b1 (diff)
downloadchromium_src-67b09ecdd8769cd291dbd0e52e73826771cf29b5.zip
chromium_src-67b09ecdd8769cd291dbd0e52e73826771cf29b5.tar.gz
chromium_src-67b09ecdd8769cd291dbd0e52e73826771cf29b5.tar.bz2
Disk cache: For an AppCache, now we only update the
LRU list when an entry is created. This means that we don't update the list anymore when an entry is accessed, even if we are writing to the entry. The general idea is that now we should be able to open an AppCache and read from it without modifying the contents of the cache, so that if the browser crashes, we won't find "dirty" entries to discard. By minimizing writes to the LRU list, we reduce the chances that the list will get corrupt beyond the point where we cannot trust it anymore if the whole system crashes (and not just the browser). BUG=51870 TEST=net_unittests Review URL: http://codereview.chromium.org/3186032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57697 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_cairo.cc')
0 files changed, 0 insertions, 0 deletions