Bug 1877196 - Move InfoBar.sys.mjs to browser/components/asrouter. r=pdahiya,omc-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D200084
This commit is contained in:
Mike Conley 2024-02-05 22:03:14 +00:00
parent fb2ce4bd02
commit e552f54072
6 changed files with 5 additions and 4 deletions

View File

@ -17,7 +17,7 @@ ChromeUtils.defineESModuleGetters(lazy, {
ExperimentAPI: "resource://nimbus/ExperimentAPI.sys.mjs",
FeatureCalloutBroker:
"resource://activity-stream/lib/FeatureCalloutBroker.sys.mjs",
InfoBar: "resource://activity-stream/lib/InfoBar.sys.mjs",
InfoBar: "resource:///modules/asrouter/InfoBar.sys.mjs",
KintoHttpClient: "resource://services-common/kinto-http-client.sys.mjs",
MacAttribution: "resource:///modules/MacAttribution.sys.mjs",
MomentsPageHub: "resource:///modules/asrouter/MomentsPageHub.sys.mjs",

View File

@ -24,6 +24,7 @@ EXTRA_JS_MODULES.asrouter += [
"modules/ASRouterTriggerListeners.jsm",
"modules/CFRMessageProvider.sys.mjs",
"modules/CFRPageActions.jsm",
"modules/InfoBar.sys.mjs",
"modules/MessagingExperimentConstants.sys.mjs",
"modules/MomentsPageHub.sys.mjs",
"modules/OnboardingMessageProvider.jsm",

View File

@ -11,7 +11,7 @@ const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
FeatureCalloutBroker:
"resource://activity-stream/lib/FeatureCalloutBroker.sys.mjs",
InfoBar: "resource://activity-stream/lib/InfoBar.sys.mjs",
InfoBar: "resource:///modules/asrouter/InfoBar.sys.mjs",
SpecialMessageActions:
"resource://messaging-system/lib/SpecialMessageActions.sys.mjs",
Spotlight: "resource:///modules/asrouter/Spotlight.sys.mjs",

View File

@ -4,7 +4,7 @@
"use strict";
const { InfoBar } = ChromeUtils.importESModule(
"resource://activity-stream/lib/InfoBar.sys.mjs"
"resource:///modules/asrouter/InfoBar.sys.mjs"
);
const { CFRMessageProvider } = ChromeUtils.importESModule(
"resource:///modules/asrouter/CFRMessageProvider.sys.mjs"

View File

@ -247,6 +247,7 @@
"resource:///modules/asrouter/ASRouterTargeting.jsm": "browser/components/asrouter/modules/ASRouterTargeting.jsm",
"resource:///modules/asrouter/ASRouterTriggerListeners.jsm": "browser/components/asrouter/modules/ASRouterTriggerListeners.jsm",
"resource:///modules/asrouter/CFRPageActions.jsm": "browser/components/asrouter/modules/CFRPageActions.jsm",
"resource:///modules/asrouter/InfoBar.jsm": "browser/components/asrouter/modules/InfoBar.jsm",
"resource:///modules/asrouter/MomentsPageHub.jsm": "browser/components/asrouter/modules/MomentsPageHub.jsm",
"resource:///modules/asrouter/OnboardingMessageProvider.jsm": "browser/components/asrouter/modules/OnboardingMessageProvider.jsm",
"resource:///modules/asrouter/ToolbarBadgeHub.jsm": "browser/components/asrouter/modules/ToolbarBadgeHub.jsm",
@ -306,7 +307,6 @@
"resource://activity-stream/lib/FaviconFeed.jsm": "browser/components/newtab/lib/FaviconFeed.jsm",
"resource://activity-stream/lib/FeatureCalloutMessages.jsm": "browser/components/newtab/lib/FeatureCalloutMessages.jsm",
"resource://activity-stream/lib/FilterAdult.jsm": "browser/components/newtab/lib/FilterAdult.jsm",
"resource://activity-stream/lib/InfoBar.jsm": "browser/components/newtab/lib/InfoBar.jsm",
"resource://activity-stream/lib/LinksCache.jsm": "browser/components/newtab/lib/LinksCache.jsm",
"resource://activity-stream/lib/NewTabInit.jsm": "browser/components/newtab/lib/NewTabInit.jsm",
"resource://activity-stream/lib/PanelTestProvider.jsm": "browser/components/newtab/lib/PanelTestProvider.jsm",