mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Bug 1497707, part 3 - Remove various unused things from nsComponentManager. r=froydnj
Depends on D8169 Differential Revision: https://phabricator.services.mozilla.com/D8170 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
5c342e70f3
commit
678b7ca2b3
@ -70,25 +70,8 @@ static LazyLogModule nsComponentManagerLog("nsComponentManager");
|
||||
#define SHOW_CI_ON_EXISTING_SERVICE
|
||||
#endif
|
||||
|
||||
// Bloated registry buffer size to improve startup performance -- needs to
|
||||
// be big enough to fit the entire file into memory or it'll thrash.
|
||||
// 512K is big enough to allow for some future growth in the registry.
|
||||
#define BIG_REGISTRY_BUFLEN (512*1024)
|
||||
|
||||
// Common Key Names
|
||||
const char xpcomComponentsKeyName[] = "software/mozilla/XPCOM/components";
|
||||
const char xpcomKeyName[] = "software/mozilla/XPCOM";
|
||||
|
||||
// Common Value Names
|
||||
const char fileSizeValueName[] = "FileSize";
|
||||
const char lastModValueName[] = "LastModTimeStamp";
|
||||
const char nativeComponentType[] = "application/x-mozilla-native";
|
||||
const char staticComponentType[] = "application/x-mozilla-static";
|
||||
|
||||
NS_DEFINE_CID(kCategoryManagerCID, NS_CATEGORYMANAGER_CID);
|
||||
|
||||
#define UID_STRING_LENGTH 39
|
||||
|
||||
nsresult
|
||||
nsGetServiceFromCategory::operator()(const nsIID& aIID,
|
||||
void** aInstancePtr) const
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "mozilla/Attributes.h"
|
||||
|
||||
struct nsFactoryEntry;
|
||||
class nsIServiceManager;
|
||||
struct PRThread;
|
||||
|
||||
#define NS_COMPONENTMANAGER_CID \
|
||||
@ -51,17 +50,6 @@ struct PRThread;
|
||||
{0x92, 0xfb, 0x00, 0xe0, 0x98, 0x05, 0x57, 0x0f} \
|
||||
}
|
||||
|
||||
/* keys for registry use */
|
||||
extern const char xpcomKeyName[];
|
||||
extern const char xpcomComponentsKeyName[];
|
||||
extern const char lastModValueName[];
|
||||
extern const char fileSizeValueName[];
|
||||
extern const char nativeComponentType[];
|
||||
extern const char staticComponentType[];
|
||||
|
||||
#ifdef DEBUG
|
||||
#define XPCOM_CHECK_PENDING_CIDS
|
||||
#endif
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
extern const mozilla::Module kXPCOMModule;
|
||||
|
Loading…
Reference in New Issue
Block a user