#include "sbSecurityMixin.h"
#include <sbClassInfoUtils.h>
#include <sbMemoryUtils.h>
#include <sbTArrayStringEnumerator.h>
#include <nsIConsoleService.h>
#include <nsIPermissionManager.h>
#include <nsIPrefBranch.h>
#include <nsIScriptSecurityManager.h>
#include <nsServiceManagerUtils.h>
#include <nsStringGlue.h>
#include <prlog.h>
#include <plstr.h>
#include "sbRemotePlayer.h"
Go to the source code of this file.
|
static | NS_DEFINE_CID (kSecurityMixinCID,{0xaaae98ec, 0x386e, 0x405e,{0xb1, 0x09, 0xcf, 0x1a, 0x87, 0x2e, 0xf6, 0xdd}}) |
|
| NS_IMPL_ISUPPORTS3 (sbSecurityMixin, nsIClassInfo, nsISecurityCheckedComponent, sbISecurityMixin) NS_IMPL_CI_INTERFACE_GETTER2(sbSecurityMixin |
|
sbISecurityMixin | SB_IMPL_CLASSINFO (sbSecurityMixin,"@songbirdnest.com/remoteapi/security-mixin;1","Songbird Remote Security Mixin", nsIProgrammingLanguage::CPLUSPLUS, 0, kSecurityMixinCID) |
|
char * | SB_CloneAllAccess () |
|
#define LOG |
( |
|
args | ) |
PR_LOG(gLibraryLog, PR_LOG_WARN, args) |
#define PERM_TYPE_LIBRARY_READ "rapi.library_read" |
#define PERM_TYPE_LIBRARY_WRITE "rapi.library_write" |
#define PERM_TYPE_PLAYBACK_CONTROL "rapi.playback_control" |
#define PERM_TYPE_PLAYBACK_READ "rapi.playback_read" |
#define PREF_LIBRARY_READ "library_read_disable" |
#define PREF_LIBRARY_WRITE "library_write_disable" |
#define PREF_PLAYBACK_CONTROL "playback_control_disable" |
#define PREF_PLAYBACK_READ "playback_read_disable" |
static NS_DEFINE_CID |
( |
kSecurityMixinCID |
, |
|
|
{0xaaae98ec, 0x386e, 0x405e,{0xb1, 0x09, 0xcf, 0x1a, 0x87, 0x2e, 0xf6, 0xdd}} |
|
|
) |
| |
|
static |
char* SB_CloneAllAccess |
( |
| ) |
|
|
inline |
sbISecurityMixin SB_IMPL_CLASSINFO |
( |
sbSecurityMixin |
, |
|
|
"@songbirdnest.com/remoteapi/security-mixin;1" |
, |
|
|
"Songbird Remote Security Mixin" |
, |
|
|
nsIProgrammingLanguage::CPLUSPLUS |
, |
|
|
0 |
, |
|
|
kSecurityMixinCID |
|
|
) |
| |
nsISecurityCheckedComponent |
const char* sNotificationAlert = "alert" |
|
static |
const char* sNotificationHat = "hat" |
|
static |
const char* sNotificationNone = "none" |
|
static |
const char* sNotificationStatus = "status" |
|
static |
Initial value:= {
}
static const char * sNotificationNone
static const char * sNotificationStatus
static const char * sNotificationAlert
static const char * sNotificationHat
Definition at line 77 of file sbSecurityMixin.cpp.