Commit Graph

11 Commits

Author SHA1 Message Date
Tom Tung
8206d1d428 Bug 1367309 - Part 1: Update usage to QuotaManager when a file is deleted in DOM Cache. r=bkelly, r=janv
This patch mainly to update DOM Cahce's usage to the QuotaManager when a file
is deleted. This patch implement two helper function to delete the nsIFile
recursively or directly and update usage to QuotaManager.

MozReview-Commit-ID: 7pZZ02pS48d

--HG--
extra : rebase_source : c33e4afdbc1512f117d5f47814e149736c7ca257
2017-05-23 18:33:47 +08:00
Ben Kelly
704bdbfb99 Bug 1110446 P2 Cleanup stale caches/bodies if last session didn't shutdown cleanly. r=ehsan 2015-06-25 22:22:46 -07:00
Ben Kelly
bbd2a20e5d Bug 1110446 P1 Create marker files when Cache API context is open. r=ehsan 2015-06-25 22:22:46 -07:00
Ben Kelly
0c43991ad9 Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan 2015-04-16 12:00:16 -07:00
Carsten "Tomcat" Book
7f9511a7e1 Backed out changeset fdca92fa4d55 (bug 1110485) 2015-04-15 09:54:34 +02:00
Ben Kelly
a9c2903eaf Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan 2015-04-14 17:11:19 -07:00
Wes Kocher
12f5d82830 Backed out changeset 974c5c109a49 (bug 1110485) 2015-04-14 15:27:39 -07:00
Ben Kelly
97225cf18a Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan 2015-04-14 12:21:14 -07:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari
d5840b488d Bug 1133763 - Part 3: Wipe out the cache directory when detecting a change in the DB schema; r=bkelly 2015-03-13 14:37:18 -04:00
Ben Kelly
f9064fc636 Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv 2015-03-02 14:20:00 +01:00