mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 104309 -- moved ContractID string definition for memory service to the idl file, r/sr=jband, vidur
This commit is contained in:
parent
615f7a6c15
commit
bef41bfad2
@ -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…
Reference in New Issue
Block a user