Skip to content

Commit

Permalink
Bug 1775062 - Fix various using statements to use properly qualified …
Browse files Browse the repository at this point in the history
…names. r=nika,necko-reviewers,valentin

Differential Revision: https://phabricator.services.mozilla.com/D167710
  • Loading branch information
emilio committed Jan 25, 2023
1 parent e565fbc commit af31750
Show file tree
Hide file tree
Showing 15 changed files with 44 additions and 46 deletions.
6 changes: 3 additions & 3 deletions accessible/ipc/other/PDocAccessible.ipdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ include DocAccessibleTypes;

include "mozilla/GfxMessageUtils.h";

using LayoutDeviceIntRect from "Units.h";
using LayoutDeviceIntPoint from "Units.h";
using LayoutDeviceIntSize from "Units.h";
using mozilla::LayoutDeviceIntRect from "Units.h";
using mozilla::LayoutDeviceIntPoint from "Units.h";
using mozilla::LayoutDeviceIntSize from "Units.h";
using mozilla::a11y::role from "mozilla/a11y/IPCTypes.h";
using mozilla::a11y::AccType from "mozilla/a11y/IPCTypes.h";
using mozilla::a11y::AccGenericType from "mozilla/a11y/IPCTypes.h";
Expand Down
20 changes: 10 additions & 10 deletions dom/cache/CacheTypes.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ include "mozilla/dom/cache/IPCUtils.h";
include "mozilla/dom/FetchIPCTypes.h";
include "mozilla/ipc/TransportSecurityInfoUtils.h";

using HeadersGuardEnum from "mozilla/dom/HeadersBinding.h";
using Namespace from "mozilla/dom/cache/Types.h";
using OpenMode from "mozilla/dom/cache/Types.h";
using ReferrerPolicy from "mozilla/dom/ReferrerPolicyBinding.h";
using RequestCredentials from "mozilla/dom/RequestBinding.h";
using RequestMode from "mozilla/dom/RequestBinding.h";
using RequestCache from "mozilla/dom/RequestBinding.h";
using RequestRedirect from "mozilla/dom/RequestBinding.h";
using ResponseType from "mozilla/dom/ResponseBinding.h";
using struct mozilla::void_t from "mozilla/ipc/IPCCore.h";
using mozilla::dom::HeadersGuardEnum from "mozilla/dom/HeadersBinding.h";
using mozilla::dom::cache::Namespace from "mozilla/dom/cache/Types.h";
using mozilla::dom::cache::OpenMode from "mozilla/dom/cache/Types.h";
using mozilla::dom::ReferrerPolicy from "mozilla/dom/ReferrerPolicyBinding.h";
using mozilla::dom::RequestCredentials from "mozilla/dom/RequestBinding.h";
using mozilla::dom::RequestMode from "mozilla/dom/RequestBinding.h";
using mozilla::dom::RequestCache from "mozilla/dom/RequestBinding.h";
using mozilla::dom::RequestRedirect from "mozilla/dom/RequestBinding.h";
using mozilla::dom::ResponseType from "mozilla/dom/ResponseBinding.h";
using mozilla::void_t from "mozilla/ipc/IPCCore.h";
using nsContentPolicyType from "nsIContentPolicy.h";
using struct nsID from "nsID.h";
using nsILoadInfo::CrossOriginEmbedderPolicy from "nsILoadInfo.h";
Expand Down
8 changes: 4 additions & 4 deletions dom/clients/manager/ClientIPCTypes.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ include "mozilla/dom/ClientIPCUtils.h";
include "ipc/ErrorIPCUtils.h";

using mozilla::TimeStamp from "mozilla/TimeStamp.h";
using ClientType from "mozilla/dom/ClientsBinding.h";
using FrameType from "mozilla/dom/ClientBinding.h";
using mozilla::dom::ClientType from "mozilla/dom/ClientsBinding.h";
using mozilla::dom::FrameType from "mozilla/dom/ClientBinding.h";
using mozilla::StorageAccess from "mozilla/StorageAccess.h";
using VisibilityState from "mozilla/dom/DocumentBinding.h";
using CallerType from "mozilla/dom/BindingDeclarations.h";
using mozilla::dom::VisibilityState from "mozilla/dom/DocumentBinding.h";
using mozilla::dom::CallerType from "mozilla/dom/BindingDeclarations.h";
using mozilla::CopyableErrorResult from "mozilla/ErrorResult.h";

namespace mozilla {
Expand Down
14 changes: 7 additions & 7 deletions dom/fetch/FetchTypes.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ include NeckoChannelParams;
include "mozilla/dom/FetchIPCTypes.h";
include "mozilla/ipc/TransportSecurityInfoUtils.h";

using HeadersGuardEnum from "mozilla/dom/HeadersBinding.h";
using ReferrerPolicy from "mozilla/dom/ReferrerPolicyBinding.h";
using RequestCache from "mozilla/dom/RequestBinding.h";
using RequestCredentials from "mozilla/dom/RequestBinding.h";
using RequestRedirect from "mozilla/dom/RequestBinding.h";
using ResponseType from "mozilla/dom/ResponseBinding.h";
using mozilla::dom::HeadersGuardEnum from "mozilla/dom/HeadersBinding.h";
using mozilla::dom::ReferrerPolicy from "mozilla/dom/ReferrerPolicyBinding.h";
using mozilla::dom::RequestCache from "mozilla/dom/RequestBinding.h";
using mozilla::dom::RequestCredentials from "mozilla/dom/RequestBinding.h";
using mozilla::dom::RequestRedirect from "mozilla/dom/RequestBinding.h";
using mozilla::dom::ResponseType from "mozilla/dom/ResponseBinding.h";
using struct nsID from "nsID.h";
using FetchDriverObserver::EndReason from "mozilla/dom/FetchDriver.h";
using mozilla::dom::FetchDriverObserver::EndReason from "mozilla/dom/FetchDriver.h";
using nsILoadInfo::CrossOriginEmbedderPolicy from "nsILoadInfo.h";
[RefCounted] using class mozilla::RemoteLazyInputStream from "mozilla/RemoteLazyInputStream.h";
[RefCounted] using class nsITransportSecurityInfo from "nsITransportSecurityInfo.h";
Expand Down
2 changes: 0 additions & 2 deletions dom/fetch/PFetch.ipdl
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ include NeckoChannelParams;
include PBackgroundSharedTypes;
include PerformanceTimingTypes;

using FetchDriverObserver::EndReason from "mozilla/dom/FetchDriver.h";

namespace mozilla {
namespace dom {

Expand Down
18 changes: 9 additions & 9 deletions dom/ipc/DOMTypes.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ using struct mozilla::dom::LoadingSessionHistoryInfo
using mozilla::net::ClassOfService from "mozilla/net/ClassOfService.h";


using hal::ScreenOrientation from "mozilla/HalIPCUtils.h";
using LayoutDeviceIntRect from "Units.h";
using DesktopIntRect from "Units.h";
using DesktopToLayoutDeviceScale from "Units.h";
using CSSToLayoutDeviceScale from "Units.h";
using CSSRect from "Units.h";
using CSSSize from "Units.h";
using ScreenIntSize from "Units.h";
using mozilla::hal::ScreenOrientation from "mozilla/HalIPCUtils.h";
using mozilla::LayoutDeviceIntRect from "Units.h";
using mozilla::DesktopIntRect from "Units.h";
using mozilla::DesktopToLayoutDeviceScale from "Units.h";
using mozilla::CSSToLayoutDeviceScale from "Units.h";
using mozilla::CSSRect from "Units.h";
using mozilla::CSSSize from "Units.h";
using mozilla::ScreenIntSize from "Units.h";
using mozilla::LayoutDeviceIntPoint from "Units.h";
using nsSizeMode from "nsIWidgetListener.h";
using ScrollbarPreference from "mozilla/ScrollbarPreferences.h";
using mozilla::ScrollbarPreference from "mozilla/ScrollbarPreferences.h";
using mozilla::gfx::SurfaceFormat from "mozilla/gfx/Types.h";
[RefCounted] using class nsIPrincipal from "nsIPrincipal.h";
using mozilla::dom::MaybeDiscardedBrowsingContext from "mozilla/dom/BrowsingContext.h";
Expand Down
4 changes: 2 additions & 2 deletions dom/ipc/PContent.ipdl
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ using mozilla::dom::ServiceWorkerShutdownState::Progress from "mozilla/dom/Servi
using mozilla::ContentBlockingNotifier::StorageAccessPermissionGrantedReason from "mozilla/ContentBlockingNotifier.h";
using mozilla::ContentBlockingNotifier::BlockingDecision from "mozilla/ContentBlockingNotifier.h";
using mozilla::StorageAccessAPIHelper::StorageAccessPromptChoices from "mozilla/StorageAccessAPIHelper.h";
using JSActorMessageKind from "mozilla/dom/JSActor.h";
using JSActorMessageMeta from "mozilla/dom/PWindowGlobal.h";
using mozilla::dom::JSActorMessageKind from "mozilla/dom/JSActor.h";
using mozilla::dom::JSActorMessageMeta from "mozilla/dom/PWindowGlobal.h";
using mozilla::PermissionDelegateHandler::DelegatedPermissionList from "mozilla/PermissionDelegateHandler.h";
[RefCounted] using class nsILayoutHistoryState from "nsILayoutHistoryState.h";
using class mozilla::dom::SessionHistoryInfo from "mozilla/dom/SessionHistoryEntry.h";
Expand Down
2 changes: 1 addition & 1 deletion dom/ipc/PWindowGlobal.ipdl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include SessionStoreTypes;

include "mozilla/layers/LayersMessageUtils.h";

using JSActorMessageKind from "mozilla/dom/JSActor.h";
using mozilla::dom::JSActorMessageKind from "mozilla/dom/JSActor.h";
using mozilla::gfx::IntRect from "mozilla/gfx/Rect.h";
[MoveOnly] using mozilla::gfx::PaintFragment from "mozilla/gfx/CrossProcessPaint.h";
using nscolor from "nsColor.h";
Expand Down
2 changes: 1 addition & 1 deletion dom/serviceworkers/IPCServiceWorkerDescriptor.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include PBackgroundSharedTypes;

include "mozilla/dom/ServiceWorkerIPCUtils.h";

using ServiceWorkerState from "mozilla/dom/ServiceWorkerBinding.h";
using mozilla::dom::ServiceWorkerState from "mozilla/dom/ServiceWorkerBinding.h";

namespace mozilla {
namespace dom {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include IPCServiceWorkerDescriptor;
include "ipc/ErrorIPCUtils.h";
include "mozilla/dom/ServiceWorkerIPCUtils.h";

using ServiceWorkerUpdateViaCache from "mozilla/dom/ServiceWorkerRegistrationBinding.h";
using mozilla::dom::ServiceWorkerUpdateViaCache from "mozilla/dom/ServiceWorkerRegistrationBinding.h";
using mozilla::CopyableErrorResult from "mozilla/ErrorResult.h";

namespace mozilla {
Expand Down
2 changes: 1 addition & 1 deletion dom/serviceworkers/ServiceWorkerOpArgs.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include FetchTypes;

include "mozilla/dom/ServiceWorkerIPCUtils.h";

using ServiceWorkerState from "mozilla/dom/ServiceWorkerBinding.h";
using mozilla::dom::ServiceWorkerState from "mozilla/dom/ServiceWorkerBinding.h";
using mozilla::TimeStamp from "mozilla/TimeStamp.h";

namespace mozilla {
Expand Down
2 changes: 1 addition & 1 deletion gfx/layers/ipc/LayersMessages.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ using mozilla::TimeDuration from "mozilla/TimeStamp.h";
using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
using mozilla::ScreenRotation from "mozilla/WidgetUtils.h";
using nsCSSPropertyID from "nsCSSPropertyID.h";
using hal::ScreenOrientation from "mozilla/HalIPCUtils.h";
using mozilla::hal::ScreenOrientation from "mozilla/HalIPCUtils.h";
using struct mozilla::layers::TextureInfo from "mozilla/layers/CompositorTypes.h";
using mozilla::CSSPoint from "Units.h";
using mozilla::CSSRect from "Units.h";
Expand Down
2 changes: 1 addition & 1 deletion hal/sandbox/PHal.ipdl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include protocol PBrowser;
include "mozilla/dom/ReferrerInfoUtils.h";
include "mozilla/GfxMessageUtils.h";

using hal::ScreenOrientation from "mozilla/HalIPCUtils.h";
using mozilla::hal::ScreenOrientation from "mozilla/HalIPCUtils.h";
using mozilla::hal::SensorType from "mozilla/HalSensor.h";
using mozilla::hal::WakeLockControl from "mozilla/HalTypes.h";
using mozilla::hal::ProcessPriority from "mozilla/HalTypes.h";
Expand Down
4 changes: 2 additions & 2 deletions ipc/glue/InputStreamParams.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
include ProtocolTypes;

using struct mozilla::void_t from "mozilla/ipc/IPCCore.h";
[RefCounted] using class DataPipeReceiver from "mozilla/ipc/DataPipe.h";
[RefCounted] using class mozilla::RemoteLazyInputStream from "mozilla/RemoteLazyInputStream.h";
[RefCounted] using mozilla::ipc::DataPipeReceiver from "mozilla/ipc/DataPipe.h";
[RefCounted] using mozilla::RemoteLazyInputStream from "mozilla/RemoteLazyInputStream.h";

namespace mozilla {
namespace ipc {
Expand Down
2 changes: 1 addition & 1 deletion netwerk/ipc/NeckoChannelParams.ipdlh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include "mozilla/AntiTrackingIPCUtils.h";
include "mozilla/net/ClassOfService.h";

using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
using RequestHeaderTuples from "mozilla/net/PHttpChannelParams.h";
using mozilla::net::RequestHeaderTuples from "mozilla/net/PHttpChannelParams.h";
using struct nsHttpAtom from "nsHttp.h";
using class mozilla::net::nsHttpResponseHead from "nsHttpResponseHead.h";
using class mozilla::TimeStamp from "mozilla/TimeStamp.h";
Expand Down

0 comments on commit af31750

Please sign in to comment.