Skip to content

Commit

Permalink
Bug 1318210 - Remove nsIAppsService; r=baku
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan committed Nov 17, 2016
1 parent da4b739 commit 417c473
Show file tree
Hide file tree
Showing 34 changed files with 10 additions and 878 deletions.
4 changes: 0 additions & 4 deletions b2g/components/AlertsHelper.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ XPCOMUtils.defineLazyServiceGetter(this, "gSystemMessenger",
"@mozilla.org/system-message-internal;1",
"nsISystemMessagesInternal");

XPCOMUtils.defineLazyServiceGetter(this, "appsService",
"@mozilla.org/AppsService;1",
"nsIAppsService");

XPCOMUtils.defineLazyModuleGetter(this, "SystemAppProxy",
"resource://gre/modules/SystemAppProxy.jsm");

Expand Down
152 changes: 0 additions & 152 deletions b2g/components/B2GAppMigrator.js

This file was deleted.

4 changes: 0 additions & 4 deletions b2g/components/B2GComponents.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ component {fd663ec8-cf3f-4c2b-aacb-17a6915ccb44} BootstrapCommandLine.js
contract @mozilla.org/commandlinehandler/general-startup;1?type=b2gbootstrap {fd663ec8-cf3f-4c2b-aacb-17a6915ccb44}
category command-line-handler m-b2gbootstrap @mozilla.org/commandlinehandler/general-startup;1?type=b2gbootstrap

# B2GAppMigrator.js
component {7211ece0-b458-4635-9afc-f8d7f376ee95} B2GAppMigrator.js
contract @mozilla.org/app-migrator;1 {7211ece0-b458-4635-9afc-f8d7f376ee95}

# B2GPresentationDevicePrompt.js
component {4a300c26-e99b-4018-ab9b-c48cf9bc4de1} B2GPresentationDevicePrompt.js
contract @mozilla.org/presentation-device/prompt;1 {4a300c26-e99b-4018-ab9b-c48cf9bc4de1}
Expand Down
1 change: 0 additions & 1 deletion b2g/components/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ DIRS += ['test']
EXTRA_COMPONENTS += [
'AlertsService.js',
'B2GAboutRedirector.js',
'B2GAppMigrator.js',
'B2GPresentationDevicePrompt.js',
'BootstrapCommandLine.js',
'ContentPermissionPrompt.js',
Expand Down
4 changes: 0 additions & 4 deletions b2g/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
@RESPATH@/components/docshell.xpt
@RESPATH@/components/dom.xpt
@RESPATH@/components/dom_activities.xpt
@RESPATH@/components/dom_apps.xpt
@RESPATH@/components/dom_audiochannel.xpt
@RESPATH@/components/dom_base.xpt
@RESPATH@/components/dom_system.xpt
Expand Down Expand Up @@ -533,8 +532,6 @@
@RESPATH@/components/TelemetryStartup.manifest
@RESPATH@/components/XULStore.js
@RESPATH@/components/XULStore.manifest
@RESPATH@/components/AppsService.js
@RESPATH@/components/AppsService.manifest
@RESPATH@/components/Push.js
@RESPATH@/components/Push.manifest
@RESPATH@/components/PushComponents.js
Expand Down Expand Up @@ -797,7 +794,6 @@ bin/libfreebl_32int64_3.so
@RESPATH@/components/HelperAppDialog.js
@RESPATH@/components/DownloadsUI.js
@RESPATH@/components/SystemMessageGlue.js
@RESPATH@/components/B2GAppMigrator.js
@RESPATH@/components/B2GPresentationDevicePrompt.js
@RESPATH@/components/PresentationRequestUIGlue.js

Expand Down
3 changes: 0 additions & 3 deletions browser/installer/package-manifest.in
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@
@RESPATH@/components/directory.xpt
@RESPATH@/components/docshell.xpt
@RESPATH@/components/dom.xpt
@RESPATH@/components/dom_apps.xpt
@RESPATH@/components/dom_base.xpt
@RESPATH@/components/dom_system.xpt
@RESPATH@/components/dom_canvas.xpt
Expand Down Expand Up @@ -504,8 +503,6 @@
@RESPATH@/components/messageWakeupService.manifest
@RESPATH@/components/SettingsManager.js
@RESPATH@/components/SettingsManager.manifest
@RESPATH@/components/AppsService.js
@RESPATH@/components/AppsService.manifest
@RESPATH@/components/recording-cmdline.js
@RESPATH@/components/recording-cmdline.manifest
@RESPATH@/components/htmlMenuBuilder.js
Expand Down
2 changes: 0 additions & 2 deletions caps/nsPrincipal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
#include "mozilla/Preferences.h"
#include "mozilla/HashFunctions.h"

#include "nsIAppsService.h"

using namespace mozilla;

static bool gIsWhitelistingTestDomains = false;
Expand Down
1 change: 0 additions & 1 deletion caps/nsScriptSecurityManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include "xpcpublic.h"
#include "XPCWrapper.h"
#include "nsIAppsService.h"
#include "nsIInputStreamChannel.h"
#include "nsILoadContext.h"
#include "nsIServiceManager.h"
Expand Down
1 change: 0 additions & 1 deletion docshell/base/nsDocShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,6 @@
#include "nsXULAppAPI.h"
#include "nsDOMNavigationTiming.h"
#include "nsISecurityUITelemetry.h"
#include "nsIAppsService.h"
#include "nsDSURIContentListener.h"
#include "nsDocShellLoadTypes.h"
#include "nsDocShellTransferableHooks.h"
Expand Down
101 changes: 0 additions & 101 deletions dom/apps/AppsService.js

This file was deleted.

2 changes: 0 additions & 2 deletions dom/apps/AppsService.manifest

This file was deleted.

Loading

0 comments on commit 417c473

Please sign in to comment.