1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #ifndef ThirdPartyUtil_h__
6 #define ThirdPartyUtil_h__
10 #include "mozIThirdPartyUtil.h"
11 #include "nsIEffectiveTLDService.h"
12 #include "mozilla/Attributes.h"
18 class ThirdPartyUtil MOZ_FINAL
: public mozIThirdPartyUtil
22 NS_DECL_MOZITHIRDPARTYUTIL
29 nsresult
IsThirdPartyInternal(const nsCString
& aFirstDomain
,
30 nsIURI
* aSecondURI
, bool* aResult
);
32 nsCOMPtr
<nsIEffectiveTLDService
> mTLDService
;