Bug 104309 -- moved ContractID string definition for memory service to the idl file, r/sr=jband, vidur
git-svn-id: svn://10.0.0.236/trunk@105376 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
7cbbec1c41
commit
7c799c5bd3
@ -143,3 +143,10 @@ interface nsIMemory : nsISupports
|
||||
*/
|
||||
#define NS_MEMORY_PRESSURE_ALLOC_FAILURE (NS_LITERAL_STRING("alloc-failure").get())
|
||||
%}
|
||||
|
||||
%{C++
|
||||
/**
|
||||
* ContractID for the global memory service:
|
||||
*/
|
||||
#define NS_MEMORY_CONTRACTID "@mozilla.org/xpcom/memory-service;1"
|
||||
%}
|
||||
|
||||
@ -57,8 +57,7 @@ public:
|
||||
static NS_EXPORT nsIMemory* GetGlobalMemoryService(); // AddRefs
|
||||
};
|
||||
|
||||
// ContractID/CID for the global memory service:
|
||||
#define NS_MEMORY_CONTRACTID "@mozilla.org/xpcom/memory-service;1"
|
||||
// CID for the global memory service:
|
||||
#define NS_MEMORY_CLASSNAME "Global Memory Service"
|
||||
#define NS_MEMORY_CID \
|
||||
{ /* 30a04e40-38e7-11d4-8cf5-0060b0fc14a3 */ \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user