зеркало из https://github.com/mozilla/gecko-dev.git
Made accessGranted be of type nsCacheAccessMode. This is not part of the mozilla build.
This commit is contained in:
Родитель
a19e03ee92
Коммит
d22de88f0f
|
@ -28,7 +28,7 @@
|
|||
NS_IMPL_ISUPPORTS1(nsCacheEntryDescriptor, nsICacheEntryDescriptor)
|
||||
|
||||
nsCacheEntryDescriptor::nsCacheEntryDescriptor(nsCacheEntry * entry,
|
||||
PRUint32 accessGranted)
|
||||
nsCacheAccessMode accessGranted)
|
||||
: mCacheEntry(entry), mAccessGranted(accessGranted)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
@ -42,7 +42,7 @@ nsCacheEntryDescriptor::~nsCacheEntryDescriptor()
|
|||
|
||||
|
||||
NS_METHOD
|
||||
nsCacheEntryDescriptor::Create(nsCacheEntry * entry, PRUint32 accessGranted,
|
||||
nsCacheEntryDescriptor::Create(nsCacheEntry * entry, nsCacheAccessMode accessGranted,
|
||||
nsICacheEntryDescriptor ** result)
|
||||
{
|
||||
nsresult rv = nsnull;
|
||||
|
@ -157,7 +157,7 @@ nsCacheEntryDescriptor::SetCacheElement(nsISupports * cacheElement)
|
|||
|
||||
/* readonly attribute unsigned long accessGranted; */
|
||||
NS_IMETHODIMP
|
||||
nsCacheEntryDescriptor::GetAccessGranted(PRUint32 *accessGranted)
|
||||
nsCacheEntryDescriptor::GetAccessGranted(nsCacheAccessMode *accessGranted)
|
||||
{
|
||||
*accessGranted = mAccessGranted;
|
||||
return NS_OK;
|
||||
|
|
|
@ -35,10 +35,10 @@ public:
|
|||
NS_DECL_NSITRANSPORT
|
||||
NS_DECL_NSICACHEENTRYDESCRIPTOR
|
||||
|
||||
nsCacheEntryDescriptor(nsCacheEntry * entry, PRUint32 flags);
|
||||
nsCacheEntryDescriptor(nsCacheEntry * entry, nsCacheAccessMode mode);
|
||||
virtual ~nsCacheEntryDescriptor();
|
||||
|
||||
static nsresult Create(nsCacheEntry * entry, PRUint32 accessGranted,
|
||||
static nsresult Create(nsCacheEntry * entry, nsCacheAccessMode accessGranted,
|
||||
nsICacheEntryDescriptor ** result);
|
||||
|
||||
/**
|
||||
|
@ -54,9 +54,9 @@ public:
|
|||
|
||||
protected:
|
||||
|
||||
PRCList mListLink;
|
||||
nsCacheEntry * mCacheEntry; // we are a child of the entry
|
||||
PRUint32 mAccessGranted;
|
||||
PRCList mListLink;
|
||||
nsCacheEntry * mCacheEntry; // we are a child of the entry
|
||||
nsCacheAccessMode mAccessGranted;
|
||||
};
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче