mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D13240 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
7d22c8090a
commit
19e52bebd4
@ -22,7 +22,6 @@
|
||||
#include "mozilla/a11y/PDocAccessible.h"
|
||||
#include "OuterDocAccessible.h"
|
||||
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsRect.h"
|
||||
#include "nsCocoaUtils.h"
|
||||
#include "nsCoord.h"
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "nsXULAppAPI.h"
|
||||
#include "prio.h"
|
||||
#include "private/pprio.h"
|
||||
#include "mozilla/Services.h"
|
||||
|
||||
#define ASMJSCACHE_METADATA_FILE_NAME "metadata"
|
||||
#define ASMJSCACHE_ENTRY_FILE_NAME_BASE "module"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "jsfriendapi.h"
|
||||
#include "mozilla/CheckedInt.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsPrintfCString.h"
|
||||
#include "WebGLActiveInfo.h"
|
||||
|
@ -14,7 +14,6 @@
|
||||
#include "mozilla/EventStates.h"
|
||||
#include "mozilla/MouseEvents.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/TextComposition.h"
|
||||
#include "mozilla/TextEvents.h"
|
||||
#include "mozilla/Unused.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
#include "mozilla/ArrayUtils.h"
|
||||
#include "mozilla/Services.h"
|
||||
|
||||
#include "mozilla/ipc/BackgroundParent.h"
|
||||
#include "mozilla/dom/GamepadPlatformService.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "nsBrowserElement.h"
|
||||
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/dom/BrowserElementBinding.h"
|
||||
#include "mozilla/dom/Promise.h"
|
||||
#include "mozilla/dom/ScriptSettings.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "mozilla/LazyIdleThread.h"
|
||||
#include "mozilla/Maybe.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/SnappyCompressOutputStream.h"
|
||||
#include "mozilla/SnappyUncompressInputStream.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "mozilla/ContentEvents.h"
|
||||
#include "mozilla/EventDispatcher.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/dom/DOMException.h"
|
||||
#include "mozilla/dom/ErrorEvent.h"
|
||||
#include "mozilla/dom/ErrorEventBinding.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "MediaEnginePrefs.h"
|
||||
#include "mozilla/media/DeviceChangeCallback.h"
|
||||
#include "mozilla/dom/GetUserMediaRequest.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Unused.h"
|
||||
#include "nsAutoPtr.h"
|
||||
#include "nsIMediaManager.h"
|
||||
|
@ -12,7 +12,6 @@
|
||||
#include "GraphDriver.h"
|
||||
#include "mozilla/Atomics.h"
|
||||
#include "mozilla/Monitor.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/TimeStamp.h"
|
||||
#include "mozilla/UniquePtr.h"
|
||||
#include "mozilla/WeakPtr.h"
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
#include "GMPTestMonitor.h"
|
||||
#include "GMPVideoDecoderProxy.h"
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "gfxPrefs.h"
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/Maybe.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/StaticMutex.h"
|
||||
#include "mozilla/StaticPrefs.h"
|
||||
#include "mozilla/WindowsVersion.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "mozilla/dom/OfflineAudioCompletionEvent.h"
|
||||
#include "mozilla/dom/ScriptSettings.h"
|
||||
#include "mozilla/dom/BaseAudioContextBinding.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "AudioChannelAgent.h"
|
||||
#include "AudioChannelService.h"
|
||||
#include "AudioNodeEngine.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
#include "mozilla/HalWakeLock.h"
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsIDOMWakeLockListener.h"
|
||||
#include "nsIDOMWindow.h"
|
||||
#include "nsIObserverService.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/Move.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsContentUtils.h"
|
||||
#include "nsGlobalWindow.h"
|
||||
#include "nsIDocShell.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "mozilla/IntegerPrintfMacros.h"
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Unused.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsIObserverService.h"
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/ScopeExit.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/TextUtils.h"
|
||||
|
||||
#include "mozilla/dom/ToJSValue.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "mozilla/dom/StorageEventBinding.h"
|
||||
#include "mozilla/ipc/BackgroundChild.h"
|
||||
#include "mozilla/ipc/PBackgroundChild.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/EnumSet.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "mozIStorageFunction.h"
|
||||
#include "mozilla/BasePrincipal.h"
|
||||
#include "nsVariant.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Tokenizer.h"
|
||||
|
||||
// Current version of the database schema
|
||||
|
@ -17,7 +17,6 @@
|
||||
#include "nsIServiceManager.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Attributes.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsIPermissionManager.h"
|
||||
#include "mozilla/dom/DeviceLightEvent.h"
|
||||
#include "mozilla/dom/DeviceOrientationEvent.h"
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "mozilla/dom/WorkerLocation.h"
|
||||
#include "mozilla/dom/WorkerNavigator.h"
|
||||
#include "mozilla/dom/cache/CacheStorage.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/StaticPrefs.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "gfxCrashReporterUtils.h"
|
||||
#include "gfxUtils.h"
|
||||
#include "mozilla/gfx/StackArray.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/widget/WinCompositorWidget.h"
|
||||
|
||||
#include "mozilla/EnumeratedArray.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
#include "nsServiceManagerUtils.h"
|
||||
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/BinarySearch.h"
|
||||
#include "mozilla/Sprintf.h"
|
||||
#include "mozilla/Unused.h"
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "mozilla/Move.h"
|
||||
#include "mozilla/MemoryReporting.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/SizeOfState.h"
|
||||
#include <stdint.h>
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
@ -4,7 +4,6 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsCollationCID.h"
|
||||
#include "nsComponentManagerUtils.h"
|
||||
#include "nsCOMPtr.h"
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "gtest/gtest.h"
|
||||
#include "mozilla/intl/LocaleService.h"
|
||||
#include "mozilla/intl/MozLocale.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsIToolkitChromeRegistry.h"
|
||||
|
||||
using namespace mozilla::intl;
|
||||
|
@ -5,7 +5,6 @@
|
||||
|
||||
#include "gtest/gtest.h"
|
||||
#include "mozilla/intl/LocaleService.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsIToolkitChromeRegistry.h"
|
||||
|
||||
using namespace mozilla::intl;
|
||||
|
@ -70,7 +70,6 @@
|
||||
#include "mozilla/dom/WorkerDebuggerManager.h"
|
||||
#include "mozilla/dom/Notification.h"
|
||||
#include "mozilla/OSFileConstants.h"
|
||||
#include "mozilla/Services.h"
|
||||
|
||||
#ifdef MOZ_WEBSPEECH_TEST_BACKEND
|
||||
#include "mozilla/dom/FakeSpeechRecognitionService.h"
|
||||
|
@ -13,7 +13,6 @@
|
||||
|
||||
#include "AudioConduit.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/media/MediaUtils.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsIPrefService.h"
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "nsSocketTransportService2.h"
|
||||
#include "nsThreadUtils.h"
|
||||
#include "mozilla/dom/Promise.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "prerror.h"
|
||||
#include "prio.h"
|
||||
#include "prmem.h"
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include "nsAndroidNetworkLinkService.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "mozilla/Services.h"
|
||||
|
||||
#include "AndroidBridge.h"
|
||||
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "nsHtml5TreeOperation.h"
|
||||
#include "mozAutoDocUpdate.h"
|
||||
#include "mozilla/Likely.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/dom/Comment.h"
|
||||
#include "mozilla/dom/DocumentType.h"
|
||||
#include "mozilla/dom/Element.h"
|
||||
|
@ -9,7 +9,6 @@
|
||||
|
||||
#include "mozilla/Casting.h"
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Unused.h"
|
||||
#include "mozilla/dom/ContentChild.h"
|
||||
#include "mozilla/net/ChannelDiverterChild.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include "xpc_make_class.h"
|
||||
|
||||
#include "mozilla/Services.h"
|
||||
|
||||
namespace mozilla {
|
||||
namespace storage {
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "nsIURI.h"
|
||||
#include "nsServiceManagerUtils.h"
|
||||
#include "nsIXPConnect.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "jsapi.h"
|
||||
|
||||
namespace mozilla {
|
||||
|
@ -38,7 +38,6 @@
|
||||
#include "mozilla/PoisonIOInterposer.h"
|
||||
#include "mozilla/Preferences.h"
|
||||
#include "mozilla/ProcessedStack.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/StartupTimeline.h"
|
||||
#include "mozilla/StaticPtr.h"
|
||||
#include "mozilla/Unused.h"
|
||||
|
@ -101,7 +101,6 @@ using namespace mozilla::ipc;
|
||||
#include "mozilla/layers/CompositorSession.h"
|
||||
#include "mozilla/layers/LayerTransactionParent.h"
|
||||
#include "mozilla/layers/UiCompositorControllerChild.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
// All the toplevel windows that have been created; these are in
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include "nsImageToPixbuf.h"
|
||||
#include "nsStringStream.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "mozilla/TimeStamp.h"
|
||||
#include "nsDragService.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "nsImageToPixbuf.h"
|
||||
#include "nsStringStream.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/RefPtr.h"
|
||||
#include "mozilla/TimeStamp.h"
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "nsDirectoryService.h"
|
||||
#include "nsDirectoryServiceDefs.h"
|
||||
#include "mozilla/FileUtils.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Unused.h"
|
||||
#include "mozilla/WidgetUtils.h"
|
||||
#include "nsIXULAppInfo.h"
|
||||
|
@ -69,7 +69,6 @@
|
||||
#include "mozilla/gfx/GPUProcessManager.h"
|
||||
#include "mozilla/gfx/gfxVars.h"
|
||||
#include "mozilla/Move.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Sprintf.h"
|
||||
#include "mozilla/webrender/WebRenderTypes.h"
|
||||
#include "nsRefPtrHashtable.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "nsIFileStreams.h"
|
||||
#include "nsIWindowWatcher.h"
|
||||
#include "nsIDOMWindow.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "nsWindowsHelpers.h"
|
||||
|
||||
#include "mozilla/gfx/Logging.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
#include "xpcpublic.h"
|
||||
#include "mozilla/net/NeckoCommon.h"
|
||||
#include "mozilla/ResultExtensions.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
#include "mozilla/TimeStamp.h"
|
||||
#include "nsString.h"
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "mozilla/ClearOnShutdown.h"
|
||||
#include "mozilla/EventQueue.h"
|
||||
#include "mozilla/Mutex.h"
|
||||
#include "mozilla/Services.h"
|
||||
#include "mozilla/Unused.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user