Add virtual methods for desctructor and Init(). Changed ActivateEntryIfFound() to FindEntry().
git-svn-id: svn://10.0.0.236/trunk@88062 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
8
mozilla/netwerk/cache/src/nsCacheDevice.h
vendored
8
mozilla/netwerk/cache/src/nsCacheDevice.h
vendored
@@ -35,9 +35,13 @@ class nsCacheEntry;
|
||||
|
||||
class nsCacheDevice {
|
||||
public:
|
||||
virtual const char * GetDeviceID(void) = 0;
|
||||
virtual ~nsCacheDevice() {}
|
||||
|
||||
virtual nsresult Init() = 0;
|
||||
|
||||
virtual const char * GetDeviceID(void) = 0;
|
||||
virtual nsCacheEntry * FindEntry( nsCString * key ) = 0;
|
||||
|
||||
virtual nsresult ActivateEntryIfFound( nsCacheEntry * entry ) = 0;
|
||||
virtual nsresult DeactivateEntry( nsCacheEntry * entry ) = 0;
|
||||
virtual nsresult BindEntry( nsCacheEntry * entry ) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user