diff --git a/netwerk/url-classifier/ChannelClassifierService.cpp b/netwerk/url-classifier/ChannelClassifierService.cpp index d157a8747cc3..4b1145ba00f1 100644 --- a/netwerk/url-classifier/ChannelClassifierService.cpp +++ b/netwerk/url-classifier/ChannelClassifierService.cpp @@ -18,6 +18,9 @@ #include "UrlClassifierFeatureSocialTrackingProtection.h" #include "UrlClassifierFeatureTrackingProtection.h" +#include "mozilla/StaticPtr.h" +#include "nsIChannel.h" + namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/ChannelClassifierService.h b/netwerk/url-classifier/ChannelClassifierService.h index df691a5e75ca..2c6c13b10d45 100644 --- a/netwerk/url-classifier/ChannelClassifierService.h +++ b/netwerk/url-classifier/ChannelClassifierService.h @@ -9,6 +9,8 @@ #include "nsIChannelClassifierService.h" #include "mozilla/net/UrlClassifierCommon.h" +#include "nsCOMPtr.h" +#include "nsTArray.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureCryptominingAnnotation.cpp b/netwerk/url-classifier/UrlClassifierFeatureCryptominingAnnotation.cpp index 09947ec86298..dbd46eb298c0 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureCryptominingAnnotation.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureCryptominingAnnotation.cpp @@ -10,6 +10,9 @@ #include "nsIClassifiedChannel.h" #include "nsContentUtils.h" #include "nsNetUtil.h" +#include "mozilla/StaticPtr.h" +#include "nsIWebProgressListener.h" +#include "nsIChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureCryptominingProtection.cpp b/netwerk/url-classifier/UrlClassifierFeatureCryptominingProtection.cpp index 9a47701141d0..49da59c0b631 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureCryptominingProtection.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureCryptominingProtection.cpp @@ -11,6 +11,10 @@ #include "ChannelClassifierService.h" #include "mozilla/StaticPrefs_privacy.h" #include "nsNetUtil.h" +#include "mozilla/StaticPtr.h" +#include "nsIWebProgressListener.h" +#include "nsIHttpChannelInternal.h" +#include "nsIChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureFactory.cpp b/netwerk/url-classifier/UrlClassifierFeatureFactory.cpp index 51ab88168353..6200ebe7ca21 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureFactory.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureFactory.cpp @@ -20,6 +20,7 @@ #include "UrlClassifierFeatureTrackingAnnotation.h" #include "UrlClassifierFeatureCustomTables.h" +#include "nsIWebProgressListener.h" #include "nsAppRunner.h" namespace mozilla { diff --git a/netwerk/url-classifier/UrlClassifierFeatureFingerprintingAnnotation.cpp b/netwerk/url-classifier/UrlClassifierFeatureFingerprintingAnnotation.cpp index ae50147ad63a..e5cd9a65f793 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureFingerprintingAnnotation.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureFingerprintingAnnotation.cpp @@ -10,6 +10,9 @@ #include "nsIClassifiedChannel.h" #include "nsContentUtils.h" #include "nsNetUtil.h" +#include "mozilla/StaticPtr.h" +#include "nsIWebProgressListener.h" +#include "nsIChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureFingerprintingProtection.cpp b/netwerk/url-classifier/UrlClassifierFeatureFingerprintingProtection.cpp index cea558cd8cca..7acfb0ca83b9 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureFingerprintingProtection.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureFingerprintingProtection.cpp @@ -11,6 +11,10 @@ #include "ChannelClassifierService.h" #include "mozilla/StaticPrefs_privacy.h" #include "nsNetUtil.h" +#include "mozilla/StaticPtr.h" +#include "nsIWebProgressListener.h" +#include "nsIHttpChannelInternal.h" +#include "nsIChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureFlash.cpp b/netwerk/url-classifier/UrlClassifierFeatureFlash.cpp index 10310222c6aa..678ffd60e84b 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureFlash.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureFlash.cpp @@ -10,6 +10,8 @@ #include "nsIXULRuntime.h" #include "nsScriptSecurityManager.h" #include "nsQueryObject.h" +#include "UrlClassifierCommon.h" +#include "nsIParentChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureFlash.h b/netwerk/url-classifier/UrlClassifierFeatureFlash.h index 57d0919729d8..2db1aaf1ab1a 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureFlash.h +++ b/netwerk/url-classifier/UrlClassifierFeatureFlash.h @@ -8,6 +8,8 @@ #define mozilla_UrlClassifierFeatureFlash_h #include "UrlClassifierFeatureBase.h" +#include "nsIHttpChannel.h" +#include "nsIChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureLoginReputation.cpp b/netwerk/url-classifier/UrlClassifierFeatureLoginReputation.cpp index 916255c67a14..e9c21e9e00f4 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureLoginReputation.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureLoginReputation.cpp @@ -7,6 +7,10 @@ #include "UrlClassifierFeatureLoginReputation.h" #include "mozilla/StaticPrefs_browser.h" +#include "mozilla/StaticPtr.h" +#include "UrlClassifierCommon.h" +#include "nsCOMPtr.h" +#include "nsIChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp b/netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp index 5c0e3bf4fe1f..d03f9c790bc6 100644 --- a/netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp +++ b/netwerk/url-classifier/UrlClassifierFeaturePhishingProtection.cpp @@ -5,6 +5,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "UrlClassifierFeaturePhishingProtection.h" +#include "mozilla/StaticPrefs_browser.h" +#include "nsCOMPtr.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureResult.h b/netwerk/url-classifier/UrlClassifierFeatureResult.h index 5987ed8d1062..fba6c95c9b89 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureResult.h +++ b/netwerk/url-classifier/UrlClassifierFeatureResult.h @@ -9,8 +9,8 @@ #include "nsIUrlClassifierFeature.h" #include "nsString.h" - -class nsIURI; +#include "nsCOMPtr.h" +#include "nsIURI.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureSocialTrackingAnnotation.cpp b/netwerk/url-classifier/UrlClassifierFeatureSocialTrackingAnnotation.cpp index b76b00c23d83..e464c0c8152c 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureSocialTrackingAnnotation.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureSocialTrackingAnnotation.cpp @@ -10,6 +10,9 @@ #include "nsIClassifiedChannel.h" #include "nsContentUtils.h" #include "nsNetUtil.h" +#include "mozilla/StaticPtr.h" +#include "nsIWebProgressListener.h" +#include "nsIChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureSocialTrackingProtection.cpp b/netwerk/url-classifier/UrlClassifierFeatureSocialTrackingProtection.cpp index 0bc14016d1dc..4799ba2f5ef4 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureSocialTrackingProtection.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureSocialTrackingProtection.cpp @@ -11,6 +11,10 @@ #include "ChannelClassifierService.h" #include "mozilla/StaticPrefs_privacy.h" #include "nsNetUtil.h" +#include "mozilla/StaticPtr.h" +#include "nsIWebProgressListener.h" +#include "nsIHttpChannelInternal.h" +#include "nsIChannel.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/UrlClassifierFeatureTrackingProtection.cpp b/netwerk/url-classifier/UrlClassifierFeatureTrackingProtection.cpp index e9d9e1b39b21..e55bf87fde27 100644 --- a/netwerk/url-classifier/UrlClassifierFeatureTrackingProtection.cpp +++ b/netwerk/url-classifier/UrlClassifierFeatureTrackingProtection.cpp @@ -13,6 +13,9 @@ #include "nsIHttpChannelInternal.h" #include "nsILoadContext.h" #include "nsNetUtil.h" +#include "mozilla/StaticPtr.h" +#include "nsXULAppAPI.h" +#include "nsIWebProgressListener.h" namespace mozilla { namespace net { diff --git a/netwerk/url-classifier/moz.build b/netwerk/url-classifier/moz.build index c76c04ce2a5f..9bdbbd63db14 100644 --- a/netwerk/url-classifier/moz.build +++ b/netwerk/url-classifier/moz.build @@ -66,5 +66,3 @@ LOCAL_INCLUDES += [ FINAL_LIBRARY = "xul" include("/ipc/chromium/chromium-config.mozbuild") - -REQUIRES_UNIFIED_BUILD = True