#include <sbSecurityMixin.h>
|
NS_DECL_ISUPPORTS
NS_DECL_NSICLASSINFO
NS_DECL_NSISECURITYCHECKEDCOMPONENT
NS_DECL_SBISECURITYMIXIN | sbSecurityMixin () |
| |
| void | init (in sbISecurityAggregator aOuter, [const, array, size_is(aInterfacesLength)] in nsIIDPtr aInterfacesArray, in unsigned long aInterfacesLength, [const, array, size_is(aMethodsLength)] in string aMethodsArray, in unsigned long aMethodsLength, [const, array, size_is(aRPropsLength)] in string aRPropsArray, in unsigned long aRPropsLength, [const, array, size_is(aWPropsLength)] in string aWPropsArray, in unsigned long aWPropsLength, in boolean aPrivileged) |
| |
| nsIURI | getCodebase () |
| | Gets the URI for the current location. More...
|
| |
| boolean | getPermissionForScopedNameWrapper (in AString aRemotePermCategory) |
| | Get the permissions for a category. More...
|
| |
|
| static nsresult | SetPermission (nsIURI *aURI, const nsACString &aScopedName) |
| | Set the permission to allow for a scoped name. More...
|
| |
|
| virtual | ~sbSecurityMixin () |
| |
| PRBool | GetPermission (nsIURI *aURI, const struct Scope *aScope) |
| |
| PRBool | GetPermissionForScopedName (const nsAString &aScopedName, PRBool disableNotificationCheck=PR_FALSE) |
| |
| PRBool | GetScopedName (nsTArray< nsCString > &aStringArray, const nsAString &aMethodName, nsAString &aScopedName) |
| |
| const struct Scope * | GetScopeForScopedName (const nsAString &aScopedName) |
| |
| nsresult | DispatchNotificationEvent (const char *aNotificationType, const Scope *aScope, PRBool aHasAccess) |
| |
| nsresult | CopyIIDArray (PRUint32 aCount, const nsIID **aSourceArray, nsIID ***aDestArray) |
| |
| nsresult | CopyStrArray (PRUint32 aCount, const char **aSourceArray, nsTArray< nsCString > *aDestArray) |
| |
Definition at line 63 of file sbSecurityMixin.h.
| sbSecurityMixin::sbSecurityMixin |
( |
| ) |
|
| sbSecurityMixin::~sbSecurityMixin |
( |
| ) |
|
|
protectedvirtual |
| nsresult sbSecurityMixin::CopyIIDArray |
( |
PRUint32 |
aCount, |
|
|
const nsIID ** |
aSourceArray, |
|
|
nsIID *** |
aDestArray |
|
) |
| |
|
protected |
| nsresult sbSecurityMixin::CopyStrArray |
( |
PRUint32 |
aCount, |
|
|
const char ** |
aSourceArray, |
|
|
nsTArray< nsCString > * |
aDestArray |
|
) |
| |
|
protected |
| nsresult sbSecurityMixin::DispatchNotificationEvent |
( |
const char * |
aNotificationType, |
|
|
const Scope * |
aScope, |
|
|
PRBool |
aHasAccess |
|
) |
| |
|
protected |
| PRBool sbSecurityMixin::GetPermission |
( |
nsIURI * |
aURI, |
|
|
const struct Scope * |
aScope |
|
) |
| |
|
protected |
| PRBool sbSecurityMixin::GetPermissionForScopedName |
( |
const nsAString & |
aScopedName, |
|
|
PRBool |
disableNotificationCheck = PR_FALSE |
|
) |
| |
|
protected |
| PRBool sbSecurityMixin::GetScopedName |
( |
nsTArray< nsCString > & |
aStringArray, |
|
|
const nsAString & |
aMethodName, |
|
|
nsAString & |
aScopedName |
|
) |
| |
|
protected |
| const struct Scope * sbSecurityMixin::GetScopeForScopedName |
( |
const nsAString & |
aScopedName | ) |
|
|
protected |
| nsresult sbSecurityMixin::SetPermission |
( |
nsIURI * |
aURI, |
|
|
const nsACString & |
aScopedName |
|
) |
| |
|
static |
Set the permission to allow for a scoped name.
- Parameters
-
| aURI | the URI to set permissions for |
| aScopedName | the permission to set |
Definition at line 601 of file sbSecurityMixin.cpp.
| nsIID** sbSecurityMixin::mInterfaces |
|
protected |
| PRUint32 sbSecurityMixin::mInterfacesCount |
|
protected |
| nsTArray<nsCString> sbSecurityMixin::mMethods |
|
protected |
| nsCOMPtr<nsIDOMDocument> sbSecurityMixin::mNotificationDocument |
|
protected |
| PRBool sbSecurityMixin::mPrivileged |
|
protected |
| nsTArray<nsCString> sbSecurityMixin::mRProperties |
|
protected |
| nsTArray<nsCString> sbSecurityMixin::mWProperties |
|
protected |
The documentation for this class was generated from the following files: