gecko-dev/dom/webbrowserpersist
Nick Alexander 95f004a551 Bug 1918194 - Part 1: Add background task extras to nsIIncrementalDownload MAR GETs. r=bytesized,bhearsum,necko-reviewers,application-update-reviewers,csadilek,jesup
This adds extra headers and query parameters to identify MAR GET
requests as originating from browsing profiles or background task
profiles.

This extracts a simple existing function for setting headers and then
makes it available to `nsIIncrementalDownload`.  The existing function
is not the most pleasant API, but it exists and is much easier than
working through the details of storing header name-value pairs until
they are ready to be used.  It's also the same API exposed by Windows
BITS, so there's no additional manipulation required to support BITS.

Differential Revision: https://phabricator.services.mozilla.com/D221860
2024-10-31 21:26:35 +00:00
..
moz.build
nsIWebBrowserPersist.idl
nsIWebBrowserPersistDocument.idl
nsWebBrowserPersist.cpp Bug 1918194 - Part 1: Add background task extras to nsIIncrementalDownload MAR GETs. r=bytesized,bhearsum,necko-reviewers,application-update-reviewers,csadilek,jesup 2024-10-31 21:26:35 +00:00
nsWebBrowserPersist.h
PWebBrowserPersistDocument.ipdl
PWebBrowserPersistResources.ipdl
PWebBrowserPersistSerialize.ipdl
WebBrowserPersistDocumentChild.cpp
WebBrowserPersistDocumentChild.h
WebBrowserPersistDocumentParent.cpp
WebBrowserPersistDocumentParent.h
WebBrowserPersistLocalDocument.cpp
WebBrowserPersistLocalDocument.h
WebBrowserPersistRemoteDocument.cpp
WebBrowserPersistRemoteDocument.h
WebBrowserPersistResourcesChild.cpp
WebBrowserPersistResourcesChild.h
WebBrowserPersistResourcesParent.cpp
WebBrowserPersistResourcesParent.h
WebBrowserPersistSerializeChild.cpp
WebBrowserPersistSerializeChild.h
WebBrowserPersistSerializeParent.cpp
WebBrowserPersistSerializeParent.h