code: function onUpdateAllCompleted(userComments, callback, polledData) {
      var logDump = createLogDump(
          userComments, Constants,
          EventsTracker.getInstance().getAllCapturedEvents(), polledData,
          getTabData_(), timeutil.getCurrentTime());
      callback(JSON.stringify(logDump));
    }
docs: Creates a full log dump using |polledData| and the return value of each
  tab's saveState function and passes it to |callback|.