using more appropriate notification PROGIDs now

This commit is contained in:
valeski%netscape.com 1999-07-20 20:42:07 +00:00
parent b50909c48d
commit 7035edc8f5

View File

@ -154,10 +154,10 @@ nsCookieService::Init()
if (NS_FAILED(rv = NS_NewCookieHTTPNotify(&mCookieHTTPNotify))) if (NS_FAILED(rv = NS_NewCookieHTTPNotify(&mCookieHTTPNotify)))
return rv; return rv;
rv = pNetModuleMgr->RegisterModule("http-request", eventQ, mCookieHTTPNotify, &kCookieHTTPNotifyCID); rv = pNetModuleMgr->RegisterModule(NS_NETWORK_MODULE_MANAGER_HTTP_REQUEST_PROGID, eventQ, mCookieHTTPNotify, &kCookieHTTPNotifyCID);
if (NS_FAILED(rv)) return rv; if (NS_FAILED(rv)) return rv;
rv = pNetModuleMgr->RegisterModule("http-response", eventQ, mCookieHTTPNotify, &kCookieHTTPNotifyCID); rv = pNetModuleMgr->RegisterModule(NS_NETWORK_MODULE_MANAGER_HTTP_RESPONSE_PROGID, eventQ, mCookieHTTPNotify, &kCookieHTTPNotifyCID);
if (NS_FAILED(rv)) if (NS_FAILED(rv))
return rv; return rv;