зеркало из https://github.com/mozilla/gecko-dev.git
b=45692 r=beard a=brendan: Enable liveconnect security.
This commit is contained in:
Родитель
29b8d72406
Коммит
a5e5dc3eb5
|
@ -181,6 +181,8 @@ public:
|
|||
NS_DECL_ISUPPORTS
|
||||
|
||||
NS_IMETHOD Implies(const char* target, const char* action, PRBool *bAllowedAccess);
|
||||
NS_IMETHOD GetOrigin(char* buf, int len);
|
||||
NS_IMETHOD GetCertificateID(char* buf, int len);
|
||||
};
|
||||
|
||||
MRJSecurityContext::MRJSecurityContext()
|
||||
|
@ -198,6 +200,22 @@ NS_METHOD MRJSecurityContext::Implies(const char* target, const char* action, PR
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsCSecurityContext::GetOrigin(char* buf, int len)
|
||||
{
|
||||
// ACTION: Implement me.
|
||||
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
NS_METHOD
|
||||
nsCSecurityContext::GetCertificateID(char* buf, int len)
|
||||
{
|
||||
// ACTION: Implement me.
|
||||
|
||||
return PR_FALSE;
|
||||
}
|
||||
|
||||
static nsISecurityContext* newSecurityContext()
|
||||
{
|
||||
MRJSecurityContext* context = new MRJSecurityContext();
|
||||
|
|
Загрузка…
Ссылка в новой задаче