Merge pull request #15776 from Snuffleupagus/rm-createDownloadManager-options

Remove the unused `DefaultExternalServices.createDownloadManager` options (PR 12191 follow-up)
This commit is contained in:
Jonas Jenwald 2022-12-07 10:31:15 +01:00 committed by GitHub
commit c639063050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -106,7 +106,7 @@ class DefaultExternalServices {
static reportTelemetry(data) {}
static createDownloadManager(options) {
static createDownloadManager() {
throw new Error("Not implemented: createDownloadManager");
}

View File

@ -407,7 +407,7 @@ class ChromeExternalServices extends DefaultExternalServices {
);
}
static createDownloadManager(options) {
static createDownloadManager() {
return new DownloadManager();
}

View File

@ -388,7 +388,7 @@ class FirefoxExternalServices extends DefaultExternalServices {
FirefoxCom.request("reportTelemetry", JSON.stringify(data));
}
static createDownloadManager(options) {
static createDownloadManager() {
return new DownloadManager();
}

View File

@ -38,7 +38,7 @@ class GenericPreferences extends BasePreferences {
}
class GenericExternalServices extends DefaultExternalServices {
static createDownloadManager(options) {
static createDownloadManager() {
return new DownloadManager();
}