code: function createLogDump(
        userComments, constants, events, polledData, tabData, numericDate) {
      var logDump = {
        'userComments': userComments,
        'constants': constants,
        'events': events,
        'polledData': polledData,
        'tabData': tabData
      };
  
      // Not technically client info, but it's used at the same point in the code.
      if (numericDate && constants.clientInfo) {
        constants.clientInfo.numericDate = numericDate;
      }
  
      return logDump;
    }
docs: Creates a new log dump.  |events| is a list of all events, |polledData| is
  an object containing the results of each poll, |tabData| is an object
  containing data for individual tabs, |date| is the time the dump was
  created, as a formatted string.
  
  Returns the new log dump as an object.  Resulting object may have a null
  |numericDate|.
  
  TODO(eroman): Use javadoc notation for these parameters.
  
  Log dumps are just JSON objects containing five values:
  
  |userComments| User-provided notes describing what this dump file is
  about.
  |constants| needed to interpret the data.  This also includes some
  browser state information.
  |events| from the NetLog.
  |polledData| from each PollableDataHelper available on the source OS.
  |tabData| containing any tab-specific state that's not present in
  |polledData|.
  
  |polledData| and |tabData| may be empty objects, or may be missing data for
  tabs not present on the OS the log is from.