setAborted(aborted) {
    if (aborted && !this.aborted_) {
      this.aborted_ = aborted;
      this.event_ = new goog.events.Event(goog.net.EventType.ABORT);
    }
  }
Sets the aborted status.
@param {boolean} aborted True if the request was aborted, otherwise False.