* Called when the timer fires. Notifies the user about whichever event 
* Called when the timer fires. Notifies the user about whichever event 
  registerNagTimer: function(timerID, timerInterval, methodName) {    // Remind the user to restart their browser in a little bit.    var tm =         Components.classes["@mozilla.org/updates/timer-manager;1"].        getService(Components.interfaces.nsIUpdateTimerManager);        /**     * An object implementing nsITimerCallback that uses the Update Prompt     * component to notify the user about some event relating to app update     * that they should take action on.     * @param   update     *          The nsIUpdate object in question     * @param   methodName     *          The name of the method on the Update Prompter that should be      *          called     * @constructor     */    function Callback(update, methodName) {      this._update = update;      this._methodName = methodName;      this._prompter =         Components.classes["@mozilla.org/updates/update-prompt;1"].        createInstance(Components.interfaces.nsIUpdatePrompt);          }    Callback.prototype = {      /**       * The Update we should nag about downloading       */      _update: null,            /**       * The Update prompter we can use to notify the user       */      _prompter: null,            /**       * The method on the update prompt that should be called       */      _methodName: "",            /**       * Called when the timer fires. Notifies the user about whichever event        * they need to be nagged about (e.g. update available, please restart,       * etc).       */      notify: function(timerCallback) {        if (methodName in this._prompter)           this._prompter[methodName](null, this._update);      }    }    tm.registerTimer(timerID, (new Callback(gUpdates.update, methodName)),                      timerInterval);  }
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/dd0789ea577a496e2622a164a469a9cb1bcf058d/updates.js/clean/toolkit/mozapps/update/content/updates.js