NS_ENSURE_ARG_POINTER(domain); NS_ENSURE_ARG_POINTER(observer);
NS_IMETHODIMP nsPref::AddObserver(const char *domain,                                  nsIObserver *observer){    nsCStringKey key(domain);    mObservers.Put(&key, observer);    return RegisterCallback(domain, NotifyObserver, observer);}