$OpenBSD$ index 3f50ac3..c90dbad 100644 --- content/base/src/ThirdPartyUtil.h.orig Fri Feb 20 15:40:36 2015 +++ content/base/src/ThirdPartyUtil.h Fri Feb 20 15:40:36 2015 @@ -9,6 +9,7 @@ #include "nsString.h" #include "mozIThirdPartyUtil.h" #include "nsIEffectiveTLDService.h" +#include "nsICookiePermission.h" #include "mozilla/Attributes.h" class nsIURI; @@ -26,9 +27,15 @@ public: private: nsresult IsThirdPartyInternal(const nsCString& aFirstDomain, nsIURI* aSecondURI, bool* aResult); + bool IsFirstPartyIsolationActive(nsIChannel* aChannel, nsIDocument* aDoc); + bool SchemeIsWhiteListed(nsIURI *aURI); static already_AddRefed GetURIFromWindow(nsIDOMWindow* aWin); + static nsresult GetOriginatingURI(nsIChannel *aChannel, nsIURI **aURI); + nsresult GetFirstPartyURIInternal(nsIChannel *aChannel, nsIDocument *aDoc, + bool aLogErrors, nsIURI **aOutput); nsCOMPtr mTLDService; + nsCOMPtr mCookiePermissions; }; #endif