mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-26 01:08:39 +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
12
netwerk/cache/nsApplicationCacheService.cpp
vendored
12
netwerk/cache/nsApplicationCacheService.cpp
vendored
|
|
@ -7,7 +7,6 @@
|
|||
#include "nsCacheService.h"
|
||||
#include "nsApplicationCacheService.h"
|
||||
#include "nsCRT.h"
|
||||
#include "mozIApplicationClearPrivateDataParams.h"
|
||||
#include "nsNetCID.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsIObserverService.h"
|
||||
|
|
@ -253,14 +252,3 @@ private:
|
|||
NS_IMPL_ISUPPORTS(AppCacheClearDataObserver, nsIObserver)
|
||||
|
||||
} // namespace
|
||||
|
||||
// Instantiates and registers AppCacheClearDataObserver for notifications
|
||||
void
|
||||
nsApplicationCacheService::AppClearDataObserverInit()
|
||||
{
|
||||
nsCOMPtr<nsIObserverService> observerService = services::GetObserverService();
|
||||
if (observerService) {
|
||||
RefPtr<AppCacheClearDataObserver> obs = new AppCacheClearDataObserver();
|
||||
observerService->AddObserver(obs, "clear-origin-attributes-data", /*ownsWeak=*/ false);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue