mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
Issue #1787 - Remove nsIAppsService, mozIApplication and mozapp data cleanup.
This commit is contained in:
parent
ef5f052d97
commit
ff89fee91d
43 changed files with 5 additions and 1032 deletions
|
|
@ -33,7 +33,6 @@
|
|||
#include "nsSocketTransportService2.h"
|
||||
#include "nsAlgorithm.h"
|
||||
#include "ASpdySession.h"
|
||||
#include "mozIApplicationClearPrivateDataParams.h"
|
||||
#include "EventTokenBucket.h"
|
||||
#include "Tickler.h"
|
||||
#include "nsIXULAppInfo.h"
|
||||
|
|
@ -388,7 +387,6 @@ nsHttpHandler::Init()
|
|||
obsService->AddObserver(this, "net:prune-all-connections", true);
|
||||
obsService->AddObserver(this, "net:failed-to-process-uri-content", true);
|
||||
obsService->AddObserver(this, "last-pb-context-exited", true);
|
||||
obsService->AddObserver(this, "webapps-clear-data", true);
|
||||
obsService->AddObserver(this, "browser:purge-session-history", true);
|
||||
obsService->AddObserver(this, NS_NETWORK_LINK_TOPIC, true);
|
||||
obsService->AddObserver(this, "application-background", true);
|
||||
|
|
@ -2173,10 +2171,6 @@ nsHttpHandler::Observe(nsISupports *subject,
|
|||
if (mConnMgr) {
|
||||
mConnMgr->ClearAltServiceMappings();
|
||||
}
|
||||
} else if (!strcmp(topic, "webapps-clear-data")) {
|
||||
if (mConnMgr) {
|
||||
mConnMgr->ClearAltServiceMappings();
|
||||
}
|
||||
} else if (!strcmp(topic, "browser:purge-session-history")) {
|
||||
if (mConnMgr) {
|
||||
if (gSocketTransportService) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue