зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1690468
- [remote] Move Remote Agent component related files to components/. r=remote-protocol-reviewers,jgraham
Depends on D103944 Differential Revision: https://phabricator.services.mozilla.com/D104159
This commit is contained in:
Родитель
696ff9be8a
Коммит
7cb9dcf75e
|
@ -6,7 +6,7 @@ Classes = [
|
|||
{
|
||||
"cid": "{8f685a9d-8181-46d6-a71d-869289099c6d}",
|
||||
"contract_ids": ["@mozilla.org/remote/agent;1"],
|
||||
"jsm": "chrome://remote/content/RemoteAgent.jsm",
|
||||
"jsm": "chrome://remote/content/components/RemoteAgent.jsm",
|
||||
"constructor": "RemoteAgentFactory",
|
||||
},
|
||||
{
|
|
@ -0,0 +1,8 @@
|
|||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
XPIDL_MODULE = "remote"
|
||||
XPIDL_SOURCES += ["nsIRemoteAgent.idl"]
|
||||
|
||||
XPCOM_MANIFESTS += ["components.conf"]
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
remote.jar:
|
||||
% content remote %content/
|
||||
content/RemoteAgent.jsm (RemoteAgent.jsm)
|
||||
content/components/RemoteAgent.jsm (components/RemoteAgent.jsm)
|
||||
|
||||
content/Connection.jsm (Connection.jsm)
|
||||
content/Error.jsm (Error.jsm)
|
||||
|
|
|
@ -3,16 +3,13 @@
|
|||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DIRS += [
|
||||
"components",
|
||||
"startup",
|
||||
"test",
|
||||
]
|
||||
|
||||
XPCOM_MANIFESTS += ["components.conf"]
|
||||
JAR_MANIFESTS += ["jar.mn"]
|
||||
|
||||
XPIDL_MODULE = "remote"
|
||||
XPIDL_SOURCES += ["nsIRemoteAgent.idl"]
|
||||
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("Remote Protocol", "Agent")
|
||||
with Files("domains/**/Emulation.jsm"):
|
||||
|
|
|
@ -13,7 +13,7 @@ const { MainProcessSession } = ChromeUtils.import(
|
|||
"chrome://remote/content/sessions/MainProcessSession.jsm"
|
||||
);
|
||||
const { RemoteAgent } = ChromeUtils.import(
|
||||
"chrome://remote/content/RemoteAgent.jsm"
|
||||
"chrome://remote/content/components/RemoteAgent.jsm"
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
|
@ -17,7 +17,7 @@ const { XPCOMUtils } = ChromeUtils.import(
|
|||
"resource://gre/modules/XPCOMUtils.jsm"
|
||||
);
|
||||
const { RemoteAgent } = ChromeUtils.import(
|
||||
"chrome://remote/content/RemoteAgent.jsm"
|
||||
"chrome://remote/content/components/RemoteAgent.jsm"
|
||||
);
|
||||
|
||||
XPCOMUtils.defineLazyServiceGetter(
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
|
||||
const { OS } = ChromeUtils.import("resource://gre/modules/osfile.jsm");
|
||||
|
||||
const { RemoteAgent } = ChromeUtils.import(
|
||||
"chrome://remote/content/components/RemoteAgent.jsm"
|
||||
);
|
||||
const { RemoteAgentError } = ChromeUtils.import(
|
||||
"chrome://remote/content/Error.jsm"
|
||||
);
|
||||
const { RemoteAgent } = ChromeUtils.import(
|
||||
"chrome://remote/content/RemoteAgent.jsm"
|
||||
);
|
||||
|
||||
const TIMEOUT_MULTIPLIER = SpecialPowers.isDebugBuild ? 4 : 1;
|
||||
const TIMEOUT_EVENTS = 1000 * TIMEOUT_MULTIPLIER;
|
||||
|
|
Загрузка…
Ссылка в новой задаче