Name Description Size Coverage
components.conf 1037 -
gen_static_components.py 37124 -
GenericFactory.cpp 568 -
GenericFactory.h A generic factory which uses a constructor function to create instances. This class is intended for use by the component manager and the generic module. 1071 -
ManifestParser.cpp from private window 19089 -
ManifestParser.h 877 -
Module.h This selector allows components to be marked so that they're only loaded into certain kinds of processes. Selectors can be combined. 3089 -
ModuleUtils.h 4271 -
moz.build 1799 -
nsCategoryCache.cpp 4721 -
nsCategoryCache.h This is a helper class that caches services that are registered in a certain category. The intended usage is that a service stores a variable of type nsCategoryCache<nsIFoo> in a member variable, where nsIFoo is the interface that these services should implement. The constructor of this class should then get the name of the category. 3338 -
nsCategoryManager.cpp CategoryDatabase contains 0 or more 1-1 mappings of string to Category each Category contains 0 or more 1-1 mappings of string keys to string values In other words, the CategoryDatabase is a tree, whose root is a hashtable. Internal nodes (or Categories) are hashtables. Leaf nodes are strings. The leaf strings are allocated in an arena, because we assume they're not going to change much ;) 19245 -
nsCategoryManager.h 16d222a6-1dd2-11b2-b693-f38b02c021b2 4295 -
nsCategoryManagerUtils.h 624 -
nsComponentManager.cpp A wrapper simple wrapper class, which can hold either a dynamic nsFactoryEntry instance, or a static StaticModule entry, and transparently forwards method calls to the wrapped object. This allows the same code to work with either static or dynamic modules without caring about the difference. 49668 -
nsComponentManager.h 91775d60-d5dc-11d2-92fb-00e09805570f 6437 -
nsComponentManagerUtils.cpp 7628 -
nsComponentManagerUtils.h do_GetClassObject can be used to improve performance of callers that call |CreateInstance| many times. They can cache the factory and call do_CreateInstance or CallCreateInstance with the cached factory rather than having the component manager retrieve it every time. 5865 -
nsICategoryManager.idl nsICategoryManager 4453 -
nsIClassInfo.idl Provides information about a specific implementation class. If you want your class to implement nsIClassInfo, see nsIClassInfoImpl.h for instructions--you most likely do not want to inherit from nsIClassInfo. 2581 -
nsIComponentManager.idl The nsIComponentManager interface. 2681 -
nsIComponentRegistrar.idl The nsIComponentRegistrar interface. 3150 -
nsIFactory.idl A class factory allows the creation of nsISupports derived components without specifying a concrete base class. 1032 -
nsIServiceManager.idl The nsIServiceManager manager interface provides a means to obtain global services in an application. The service manager depends on the repository to find and instantiate factories to obtain services. Users of the service manager must first obtain a pointer to the global service manager by calling NS_GetServiceManager. After that, they can request specific services by calling GetService. When they are finished they can NS_RELEASE() the service as usual. A user of a service may keep references to particular services indefinitely and only must call Release when it shuts down. 2517 -
nsServiceManagerUtils.h 2025 -
StaticComponents.cpp.in 9381 -
StaticComponents.h Represents a string entry in the static string table. Can be converted to a nsCString using GetString() in StaticComponents.cpp. This is a struct rather than a pure offset primarily for the purposes of type safety, but also so that it can easily be extended to include a static length in the future, if efficiency concerns warrant it. 7905 -
test -