function AddCacheEntryTask(hostname, ipAddress, netError, expired) {
  this.hostname_ = hostname;
  this.ipAddress_ = ipAddress;
  this.netError_ = netError;
  this.expired_ = expired;
  NetInternalsTest.Task.call(this);
}
/**
 * A Task that adds a hostname to the cache and waits for it to appear in the
 * data we receive from the cache.
 * @param {string} hostname Name of host address we're waiting for.
 * @param {string} ipAddress IP address we expect it to have.  Null if we expect
 *     a net error other than OK.
 * @param {int} netError The expected network error code.
 * @param {bool} expired True if we expect the entry to be expired.  The added
 *     entry will have an expiration time far enough away from the current time
 *     that there will be no chance of any races.
 * @extends {NetInternalsTest.Task}
 */
A Task that adds a hostname to the cache and waits for it to appear in the
data we receive from the cache.
@param {string} hostname Name of host address we're waiting for.
@param {string} ipAddress IP address we expect it to have.  Null if we expect
a net error other than OK.
@param {int} netError The expected network error code.
@param {bool} expired True if we expect the entry to be expired.  The added
entry will have an expiration time far enough away from the current time
that there will be no chance of any races.
A Task that adds a hostname to the cache and waits for it to appear in the data we receive from the cache . @param { string } hostname Name of host address we ' re waiting for . @param { string } ipAddress IP address we expect it to have . Null if we expect a net error other than OK . @param { int } netError The expected network error code . @param { bool } expired True if we expect the entry to be expired . The added entry will have an expiration time far enough away from the current time that there will be no chance of any races .
function AddCacheEntryTask(hostname, ipAddress, netError, expired) {
  this.hostname_ = hostname;
  this.ipAddress_ = ipAddress;
  this.netError_ = netError;
  this.expired_ = expired;
  NetInternalsTest.Task.call(this);
}
function AddCacheEntryTask ( hostname , ipAddress , netError , expired ) { this . hostname_ = hostname ; this . ipAddress_ = ipAddress ; this . netError_ = netError ; this . expired_ = expired ; NetInternalsTest . Task . call ( this ) ; }
A Task that adds a hostname to the cache and waits for it to appear in the
 data we receive from the cache.
A Task that adds a hostname to the cache and waits for it to appear in the data we receive from the cache .