mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Got rid of conditional definition of shouldCache attr. It's gone now. a=r=(not built).
This commit is contained in:
parent
1e4e128ca3
commit
5a025ab964
@ -419,38 +419,15 @@ nsLDAPChannel::SetBufferMaxSize(PRUint32 aBufferMaxSize)
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
// XXX figure out why this went away
|
||||
|
||||
#if 0
|
||||
// getter for shouldCache attribute
|
||||
//
|
||||
// Returns true if the data from this channel should be cached. Local files
|
||||
// report false because they exist on the local disk and need not be cached.
|
||||
// Input stream channels, data protocol, datetime protocol and finger
|
||||
// protocol channels also should not be cached. Http and ftp on the other
|
||||
// hand should. Note that the value of this attribute doesn't reflect any
|
||||
// http headers that may specify that this channel should not be cached.
|
||||
//
|
||||
// readonly attribute boolean shouldCache;
|
||||
//
|
||||
NS_IMETHODIMP
|
||||
nsLDAPChannel::GetShouldCache(PRBool *aShouldCache)
|
||||
{
|
||||
NS_NOTYETIMPLEMENTED("nsLDAPChannel::GetShouldCache");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
#else
|
||||
//
|
||||
// Returns a local file to the channel's data if one exists, null otherwise.
|
||||
//
|
||||
// readonly attribute nsIFile localFile;
|
||||
NS_IMETHODIMP
|
||||
nsLDAPChannel::GetLocalFile(nsIFile* *aFile)
|
||||
{
|
||||
NS_NOTYETIMPLEMENTED("nsLDAPChannel::GetLocalFile");
|
||||
return NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
// getter and setter for pipeliningAllowed attribute
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user