Bug 1315143 - Make OCSP use Origin Attribute framework (Necko). r=Cykesiopka,keeler

This commit is contained in:
Jonathan Hao
2016-11-14 18:26:12 +08:00
parent 264b104a6c
commit 4f67806e5f
8 changed files with 109 additions and 44 deletions

View File

@@ -6,6 +6,8 @@
#include "nspr.h"
using mozilla::NeckoOriginAttributes;
NS_IMPL_ISUPPORTS(nsUDPSocketProvider, nsISocketProvider)
nsUDPSocketProvider::~nsUDPSocketProvider()
@@ -17,7 +19,7 @@ nsUDPSocketProvider::NewSocket(int32_t aFamily,
const char *aHost,
int32_t aPort,
nsIProxyInfo *aProxy,
const nsACString &firstPartyDomain,
const NeckoOriginAttributes &originAttributes,
uint32_t aFlags,
PRFileDesc * *aFileDesc,
nsISupports **aSecurityInfo)
@@ -37,7 +39,7 @@ nsUDPSocketProvider::AddToSocket(int32_t aFamily,
const char *aHost,
int32_t aPort,
nsIProxyInfo *aProxy,
const nsACString &firstPartyDomain,
const NeckoOriginAttributes &originAttributes,
uint32_t aFlags,
struct PRFileDesc * aFileDesc,
nsISupports **aSecurityInfo)