src/extensions/default/AutoUpdate/main.js
function showStatusInfo(statusObj) {
        if (statusObj.target === "initial-download") {
            HealthLogger.sendAnalyticsData(
                autoUpdateEventNames.AUTOUPDATE_DOWNLOAD_START,
                "autoUpdate",
                "download",
                "started",
                ""
            );
            UpdateStatus.modifyUpdateStatus(statusObj);
        }
        UpdateStatus.displayProgress(statusObj);
    }
function showStatusInfo(statusObj) {
        if (statusObj.target === "initial-download") {
            HealthLogger.sendAnalyticsData(
                autoUpdateEventNames.AUTOUPDATE_DOWNLOAD_START,
                "autoUpdate",
                "download",
                "started",
                ""
            );
            UpdateStatus.modifyUpdateStatus(statusObj);
        }
        UpdateStatus.displayProgress(statusObj);
    }
function showStatusInfo ( statusObj ) { if ( statusObj . target === "initial-download" ) { HealthLogger . sendAnalyticsData ( autoUpdateEventNames . AUTOUPDATE_DOWNLOAD_START , "autoUpdate" , "download" , "started" , "" ) ; UpdateStatus . modifyUpdateStatus ( statusObj ) ; } UpdateStatus . displayProgress ( statusObj ) ; }
Handles the show status information callback from Node.
It modifies the info displayed on Status bar.
@param {object} statusObj - json containing status info {
target - id of string to display,
spans - Array containing json objects of type - {
id - span id,
val - string to fill the span element with }
}
Handles the show status information callback from Node . It modifies the info displayed on Status bar .