ssengupta
3ed5b7a070
Bug 1655115 - Remove unused code paths leading to dom::cache::StreamControl::CloseReadStreams() r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D85364
2020-08-04 07:59:48 +00:00
ssengupta
15e2980688
Bug 1636050 - dom::cache::ReadStream::Controllable now inherits from AtomicSafeRefCounted. r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D77223
2020-06-23 13:34:52 +00:00
Simon Giesecke
bfb7f6a78a
Bug 1645339 - Use range-based for with nsTObserverArray in dom/cache. r=dom-workers-and-storage-reviewers,edenchuang
...
Differential Revision: https://phabricator.services.mozilla.com/D79431
2020-06-17 15:04:24 +00:00
Csoregi Natalia
c644ee9a06
Backed out changeset 99cce83b7e41 (bug 1636050) for assertion failures on ReadStream.cpp. CLOSED TREE
2020-06-09 21:21:34 +03:00
ssengupta
0789e4dfa7
Bug 1636050 - dom::cache::ReadStream::Controllable now inherits from SafeRefCounted r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D77223
2020-06-09 14:32:17 +00:00
Bogdan Tara
5b21d5ce2a
Backed out changeset f1ece7c1dc6e (bug 1636050) for tsan mochitest failure in operator++ CLOSED TREE
2020-06-08 19:14:35 +03:00
ssengupta
0bd79b3130
Bug 1636050 - dom::cache::ReadStream::Controllable now inherits from SafeRefCounted r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D77223
2020-06-08 13:33:49 +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
Ben Kelly
9ef03c8751
Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt
2017-09-15 12:25:41 -07:00
Sebastian Hengst
2ecdeffe66
Backed out changeset 389e9f39d6b8 (bug 1397128)
2017-09-15 18:28:43 +02:00
Ben Kelly
cd504ea7b0
Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt
2017-09-15 09:11:22 -07:00
Ben Kelly
62ecdfc256
Bug 1093357 P3 Convert Cache to use IPCStream and AutoIPCStream. r=asuth
...
* * *
Bug 1093357 P3 interdiff 001 Use AutoIPCStream in dom/cache
2016-05-15 10:32:09 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Bobby Holley
97b9240b34
Bug 1188696
- Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Ben Kelly
5f92c3937b
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-16 12:00:15 -07:00
Ben Kelly
ec154acf25
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-16 12:00:15 -07:00
Carsten "Tomcat" Book
cdb80ccd52
Backed out changeset a74f0b2545ab (bug 1110485)
...
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-15 09:54:48 +02:00
Carsten "Tomcat" Book
55d03ff1d7
Backed out changeset f37dc22f4c4f (bug 1110485)
2015-04-15 09:54:39 +02:00
Ben Kelly
cc8a74d4e3
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-14 17:11:19 -07:00
Ben Kelly
d2326c284c
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-14 17:11:19 -07:00
Wes Kocher
82cca8b7cc
Backed out changeset 114377b11793 (bug 1110485)
...
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-14 15:27:46 -07:00
Wes Kocher
09b055e57b
Backed out changeset 31c018015bd2 (bug 1110485)
2015-04-14 15:27:42 -07:00
Ben Kelly
e264e3d81f
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-14 12:21:14 -07:00
Ben Kelly
8711b65af3
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-14 12:21:14 -07:00
Wes Kocher
164426c724
Backed out 3 changesets (bug 1110485) for wpt-3 bustage
...
Backed out changeset e8bd3bf404ff (bug 1110485)
Backed out changeset fa29dbb49a66 (bug 1110485)
Backed out changeset 12deb121d126 (bug 1110485)
--HG--
rename : dom/cache/CacheTypes.ipdlh => dom/cache/PCacheTypes.ipdlh
2015-04-13 15:18:19 -07:00
Ben Kelly
a3a390d7d6
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
...
--HG--
rename : dom/cache/PCacheTypes.ipdlh => dom/cache/CacheTypes.ipdlh
2015-04-13 14:05:57 -07:00
Ben Kelly
84463ac14b
Bug 1143223 - Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan
2015-03-20 11:01:57 -07:00
Ryan VanderMeulen
befdfa6794
Backed out changeset fd0834bbfd3c (bug 1143223) for making test_mediaElementAudioSourceNodePassThrough.html almost perma-timeout on Android 4.0.
...
--HG--
extra : rebase_source : b315a864686e99bd22bd3ef0e842c5236a92cfa6
2015-03-20 17:03:27 -04:00
Ben Kelly
63da054263
Bug 1143223 Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan
2015-03-20 11:01:57 -07:00