Bug 1652001 - Fix includes of WorkerNavigator. r=dom-workers-and-storage-reviewers,ttung

Differential Revision: https://phabricator.services.mozilla.com/D83097
This commit is contained in:
Simon Giesecke 2020-07-15 12:45:12 +00:00
Родитель 4792d7c14e
Коммит 70d0f153f1
3 изменённых файлов: 34 добавлений и 20 удалений

Просмотреть файл

@ -12,6 +12,7 @@
#include "nsIObserver.h"
#include "js/ContextOptions.h"
#include "MainThreadUtils.h"
#include "mozilla/dom/BindingDeclarations.h"
#include "mozilla/dom/SafeRefPtr.h"
#include "mozilla/dom/workerinternals/JSSettings.h"

Просмотреть файл

@ -4,29 +4,36 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/dom/BindingUtils.h"
#include "mozilla/dom/MediaCapabilities.h"
#include "mozilla/dom/Promise.h"
#include "mozilla/dom/PromiseWorkerProxy.h"
#include "mozilla/dom/StorageManager.h"
#include "mozilla/dom/WorkerNavigator.h"
#include "mozilla/dom/WorkerNavigatorBinding.h"
#include "mozilla/dom/network/Connection.h"
#include "mozilla/StaticPrefs_privacy.h"
#include "nsProxyRelease.h"
#include "nsRFPService.h"
#include <utility>
#include "ErrorList.h"
#include "MainThreadUtils.h"
#include "RuntimeService.h"
#include "mozilla/dom/Document.h"
#include "WorkerPrivate.h"
#include "WorkerRunnable.h"
#include "WorkerScope.h"
#include "mozilla/dom/MediaCapabilities.h"
#include "mozilla/dom/Navigator.h"
#include "mozilla/dom/StorageManager.h"
#include "mozilla/dom/WorkerCommon.h"
#include "mozilla/dom/WorkerNavigatorBinding.h"
#include "mozilla/dom/WorkerStatus.h"
#include "mozilla/dom/network/Connection.h"
#include "mozilla/StaticPrefs_privacy.h"
#include "mozilla/webgpu/Instance.h"
#include "nsCOMPtr.h"
#include "nsDebug.h"
#include "nsError.h"
#include "nsIGlobalObject.h"
#include "nsLiteralString.h"
#include "nsPIDOMWindow.h"
#include "nsRFPService.h"
#include "nsString.h"
class JSObject;
struct JSContext;
namespace mozilla {
namespace dom {

Просмотреть файл

@ -7,19 +7,25 @@
#ifndef mozilla_dom_workernavigator_h__
#define mozilla_dom_workernavigator_h__
#include "WorkerCommon.h"
#include "nsString.h"
#include "nsWrapperCache.h"
#include <stdint.h>
#include "js/RootingAPI.h"
#include "mozilla/AlreadyAddRefed.h"
#include "mozilla/Assertions.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/RefPtr.h"
#include "mozilla/dom/BindingDeclarations.h"
#include "mozilla/dom/StorageManager.h"
#include "mozilla/dom/workerinternals/RuntimeService.h"
#include "nsCycleCollectionParticipant.h"
#include "nsISupports.h"
#include "nsStringFwd.h"
#include "nsTArray.h"
#include "nsWrapperCache.h"
namespace mozilla {
namespace webgpu {
class Instance;
} // namespace webgpu
namespace dom {
class Promise;
class StorageManager;
class MediaCapabilities;