function GetNetLogFileContentsAndLoadLogTask(truncate) {
  NetInternalsTest.Task.call(this);
  this.setCompleteAsync(true);
  this.truncate_ = truncate;
}
/**
 * A Task that creates a log dump in the browser process, waits to receive it
 * via IPC, and and then loads it as a string.
 * @param {integer} truncate The number of bytes to truncate from the end of
 *     the string, if any, to simulate a truncated log due to crash, or
 *     quitting without properly shutting down the log writer.
 * @extends {NetInternalsTest.Task}
 */
A Task that creates a log dump in the browser process, waits to receive it
via IPC, and and then loads it as a string.
@param {integer} truncate The number of bytes to truncate from the end of
the string, if any, to simulate a truncated log due to crash, or
quitting without properly shutting down the log writer.
A Task that creates a log dump in the browser process waits to receive it via IPC and and then loads it as a string . @param { integer } truncate The number of bytes to truncate from the end of the string if any to simulate a truncated log due to crash or quitting without properly shutting down the log writer .
function GetNetLogFileContentsAndLoadLogTask(truncate) {
  NetInternalsTest.Task.call(this);
  this.setCompleteAsync(true);
  this.truncate_ = truncate;
}
function GetNetLogFileContentsAndLoadLogTask ( truncate ) { NetInternalsTest . Task . call ( this ) ; this . setCompleteAsync ( true ) ; this . truncate_ = truncate ; }
A Task that creates a log dump in the browser process, waits to receive it
 via IPC, and and then loads it as a string.
A Task that creates a log dump in the browser process waits to receive it via IPC and and then loads it as a string .