Simon Giesecke
731e2bb3f2
Bug 1683828 - Use QM_TRY et al. in FileUtils and modernize signatures. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D100320
2021-01-14 16:42:32 +00:00
Simon Giesecke
dec6e1d21c
Bug 1671369 - Change LockedDirectoryPaddingGet to return a Result and use CACHE_TRY. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93775
2020-11-17 09:07:03 +00:00
Simon Giesecke
a52d798cb2
Bug 1671369 - Change LockedDirectoryPaddingRestore to return a Result and use CACHE_TRY. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D93774
2020-11-17 09:04:35 +00:00
Andi-Bogdan Postelnicu
7c4670b83d
Bug 1671380 - Make `dom/cache` buildable outside of `unified-build` environment. r=sg
...
Differential Revision: https://phabricator.services.mozilla.com/D93642
2020-10-21 07:59:44 +00:00
Simon Giesecke
e3c223da3e
Bug 1648010 - Fix uses of NS_LITERAL_STRING with C string literals. r=geckoview-reviewers,agi,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80861
2020-07-01 08:34:12 +00:00
Tom Tung
9e63838884
Bug 1581067 - P5 - Only remove the temporary body files & body directories when it's in the initializing stage; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D47770
--HG--
extra : moz-landing-system : lando
2019-10-02 10:38:55 +00:00
Tom Tung
6621347502
Bug 1581067 - P2 - Extract similar to reuse the code; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D46780
--HG--
extra : moz-landing-system : lando
2019-09-27 16:54:45 +00:00
Tom Tung
8c5237086f
Bug 1581067 - P1 - Remove the emptry body directory when removing files inside; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D46586
--HG--
extra : moz-landing-system : lando
2019-09-27 16:54:22 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jonathan Watt
5ea9cced68
Bug 1417365 - Unified build issues in dom/cache. r=baku
2017-10-26 12:35:08 +01:00
Tom Tung
45c9e8c00b
Bug 1402581 - P3: Allow failures happen when restoring or wiping padding file. r=bkelly
...
--HG--
extra : rebase_source : 6582320e3c942c37a8b031e16569a4900871f458
2017-10-05 17:30:40 +08:00
Tom Tung
d064e1463f
Bug 1290481 - P10: Update padding size to the direcotry padding file. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : 250d8cf6dd6804e8e944982d400a8de79539f7ac
2017-07-18 19:00:09 +08:00
Tom Tung
8eb68da410
Bug 1290481 - P8: Implement few utility functions to access direcotry padding file. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : 23145f66eb62f2f858311513f6bec4ead01d18cd
2017-07-18 18:57:54 +08:00
Tom Tung
29522efbef
Bug 1290481 - P4: Update padding size to the QuotaManager. r=bkelly, janv
...
MozReview-Commit-ID: 6poDeyErBjc
--HG--
extra : rebase_source : c7f556ad5c4516c0509a998c16c086795e5fa4b2
2017-07-10 17:02:44 +08:00
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