diff --git a/toolkit/mozapps/update/UpdateService.jsm b/toolkit/mozapps/update/UpdateService.jsm index 8a03b06e39db..02263f7df2cc 100644 --- a/toolkit/mozapps/update/UpdateService.jsm +++ b/toolkit/mozapps/update/UpdateService.jsm @@ -4672,29 +4672,4 @@ Downloader.prototype = { Ci.nsIInterfaceRequestor]), }; -/** - * UpdatePrompt - * An object which can prompt the user with information about updates, request - * action, etc. Embedding clients can override this component with one that - * invokes a native front end. - * @constructor - */ -function UpdatePrompt() { -} -UpdatePrompt.prototype = { - /** - * See nsIUpdateService.idl - */ - showUpdateHistory: function UP_showUpdateHistory(parent) { - let uri = "chrome://mozapps/content/update/history.xul"; - let features = "chrome,centerscreen,resizable=no,titlebar,toolbar=no,dialog=yes,modal"; - Services.ww.openWindow(parent, uri, "Update:Elevation", features, null); - }, - - classDescription: "Update Prompt", - contractID: "@mozilla.org/updates/update-prompt;1", - classID: Components.ID("{27ABA825-35B5-4018-9FDD-F99250A0E722}"), - QueryInterface: ChromeUtils.generateQI([Ci.nsIUpdatePrompt]), -}; - -var EXPORTED_SYMBOLS = ["UpdateService", "Checker", "UpdatePrompt", "UpdateManager"]; +var EXPORTED_SYMBOLS = ["UpdateService", "Checker", "UpdateManager"]; diff --git a/toolkit/mozapps/update/components.conf b/toolkit/mozapps/update/components.conf index 55edfc04dd7f..b61ec51c9048 100644 --- a/toolkit/mozapps/update/components.conf +++ b/toolkit/mozapps/update/components.conf @@ -23,12 +23,6 @@ Classes = [ 'jsm': 'resource://gre/modules/UpdateService.jsm', 'constructor': 'Checker', }, - { - 'cid': '{27ABA825-35B5-4018-9FDD-F99250A0E722}', - 'contract_ids': ['@mozilla.org/updates/update-prompt;1'], - 'jsm': 'resource://gre/modules/UpdateService.jsm', - 'constructor': 'UpdatePrompt', - }, { 'cid': '{e43b0010-04ba-4da6-b523-1f92580bc150}', diff --git a/toolkit/mozapps/update/nsIUpdateService.idl b/toolkit/mozapps/update/nsIUpdateService.idl index 7852fb72f5aa..28e4ddf8fb00 100644 --- a/toolkit/mozapps/update/nsIUpdateService.idl +++ b/toolkit/mozapps/update/nsIUpdateService.idl @@ -477,18 +477,3 @@ interface nsIUpdateManager : nsISupports */ void cleanupActiveUpdate(); }; - -/** - * An interface describing an object that can show various kinds of Update - * notification UI to the user. - */ -[scriptable, uuid(cee3bd60-c564-42ff-a2bf-d442cb15f75c)] -interface nsIUpdatePrompt : nsISupports -{ - /** - * Shows a list of all updates installed to date. - * @param parent - * An nsIDOMWindow to set as the parent for this window. Can be null. - */ - void showUpdateHistory(in nsIDOMWindow parent); -};