function onServiceDownloadFailed(entry) {
    removeGuidFromList(ongoingServiceEntries, entry.guid);
    addOrUpdateEntryByGuid(finishedServiceEntries, entry);

    updateEntryTables();
  }
/**
   * @param {!ServiceEntry} entry The new state for a failed download service
   *     entry.
   */
@param {!ServiceEntry} entry The new state for a failed download service
entry.
@param { !ServiceEntry } entry The new state for a failed download service entry .
function onServiceDownloadFailed(entry) {
    removeGuidFromList(ongoingServiceEntries, entry.guid);
    addOrUpdateEntryByGuid(finishedServiceEntries, entry);
    updateEntryTables();
  }
function onServiceDownloadFailed ( entry ) { removeGuidFromList ( ongoingServiceEntries , entry . guid ) ; addOrUpdateEntryByGuid ( finishedServiceEntries , entry ) ; updateEntryTables ( ) ; }
@param {!ServiceEntry} entry The new state for a failed download service
     entry.
@param { !ServiceEntry } entry The new state for a failed download service entry .