mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #15776 from Snuffleupagus/rm-createDownloadManager-options
Remove the unused `DefaultExternalServices.createDownloadManager` options (PR 12191 follow-up)
This commit is contained in:
commit
c639063050
4 changed files with 4 additions and 4 deletions
|
@ -106,7 +106,7 @@ class DefaultExternalServices {
|
|||
|
||||
static reportTelemetry(data) {}
|
||||
|
||||
static createDownloadManager(options) {
|
||||
static createDownloadManager() {
|
||||
throw new Error("Not implemented: createDownloadManager");
|
||||
}
|
||||
|
||||
|
|
|
@ -407,7 +407,7 @@ class ChromeExternalServices extends DefaultExternalServices {
|
|||
);
|
||||
}
|
||||
|
||||
static createDownloadManager(options) {
|
||||
static createDownloadManager() {
|
||||
return new DownloadManager();
|
||||
}
|
||||
|
||||
|
|
|
@ -388,7 +388,7 @@ class FirefoxExternalServices extends DefaultExternalServices {
|
|||
FirefoxCom.request("reportTelemetry", JSON.stringify(data));
|
||||
}
|
||||
|
||||
static createDownloadManager(options) {
|
||||
static createDownloadManager() {
|
||||
return new DownloadManager();
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ class GenericPreferences extends BasePreferences {
|
|||
}
|
||||
|
||||
class GenericExternalServices extends DefaultExternalServices {
|
||||
static createDownloadManager(options) {
|
||||
static createDownloadManager() {
|
||||
return new DownloadManager();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue