Skip to content

Commit

Permalink
Bug 1671641 - Make dom/fetch buildable outside of unified-build e…
Browse files Browse the repository at this point in the history
…nvironment. r=sg

Depends on D93998

Differential Revision: https://phabricator.services.mozilla.com/D94015
  • Loading branch information
abpostelnicu committed Oct 21, 2020
1 parent c954c55 commit 85c179d
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/non-unified-compat
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ dom/crypto/
dom/debugger/
dom/docs/
dom/encoding/
dom/events/
dom/events/
dom/fetch/
3 changes: 3 additions & 0 deletions dom/fetch/EmptyBody.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

#include "EmptyBody.h"

#include "mozilla/ipc/PBackgroundSharedTypes.h"
#include "nsStringStream.h"

namespace mozilla {
namespace dom {

Expand Down
1 change: 1 addition & 0 deletions dom/fetch/FetchDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include "nsIAsyncVerifyRedirectCallback.h"
#include "mozilla/dom/Document.h"
#include "nsICookieJarSettings.h"
#include "nsIInputStream.h"
#include "nsIOutputStream.h"
#include "nsIFileChannel.h"
Expand Down
7 changes: 7 additions & 0 deletions dom/fetch/FetchStreamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@

#include "FetchStreamReader.h"
#include "InternalResponse.h"
#include "js/Stream.h"
#include "mozilla/ConsoleReportCollector.h"
#include "mozilla/dom/DOMException.h"
#include "mozilla/dom/Promise.h"
#include "mozilla/dom/PromiseBinding.h"
#include "mozilla/dom/WorkerPrivate.h"
#include "mozilla/TaskCategory.h"
#include "nsContentUtils.h"
#include "nsIAsyncInputStream.h"
#include "nsIPipe.h"
#include "nsIScriptError.h"
#include "nsPIDOMWindow.h"
#include "jsapi.h"
Expand Down
1 change: 1 addition & 0 deletions dom/fetch/FetchStreamReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "mozilla/dom/FetchBinding.h"
#include "mozilla/dom/PromiseNativeHandler.h"
#include "nsIAsyncOutputStream.h"
#include "nsIGlobalObject.h"

namespace mozilla {
namespace dom {
Expand Down
5 changes: 5 additions & 0 deletions dom/fetch/FetchUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@

#include "FetchUtil.h"

#include "nsCRT.h"
#include "nsError.h"
#include "nsIAsyncInputStream.h"
#include "nsStreamUtils.h"
#include "nsString.h"
#include "mozilla/dom/Document.h"

#include "mozilla/dom/DOMException.h"
#include "mozilla/dom/InternalRequest.h"
#include "mozilla/dom/Response.h"
#include "mozilla/dom/WorkerRef.h"

namespace mozilla {
Expand Down
1 change: 1 addition & 0 deletions dom/fetch/InternalRequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

#include "InternalRequest.h"

#include "InternalResponse.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/dom/Document.h"
#include "mozilla/dom/FetchTypes.h"
Expand Down
1 change: 1 addition & 0 deletions dom/fetch/Request.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "mozilla/dom/Promise.h"
#include "mozilla/dom/URL.h"
#include "mozilla/dom/WorkerPrivate.h"
#include "mozilla/dom/WorkerRunnable.h"
#include "mozilla/dom/WindowContext.h"
#include "mozilla/Unused.h"

Expand Down

0 comments on commit 85c179d

Please sign in to comment.