code: def ParseDownloadsRow(
        self, parser_mediator, query, row, **unused_kwargs):
      
      query_hash = hash(query)
  
      event_data = FirefoxDownloadEventData()
      event_data.full_path = self._GetRowValue(query_hash, row, 'target')
      event_data.mime_type = self._GetRowValue(query_hash, row, 'mimeType')
      event_data.name = self._GetRowValue(query_hash, row, 'name')
      event_data.offset = self._GetRowValue(query_hash, row, 'id')
      event_data.query = query
      event_data.received_bytes = self._GetRowValue(query_hash, row, 'currBytes')
      event_data.referrer = self._GetRowValue(query_hash, row, 'referrer')
      event_data.temporary_location = self._GetRowValue(
          query_hash, row, 'tempPath')
      event_data.total_bytes = self._GetRowValue(query_hash, row, 'maxBytes')
      event_data.url = self._GetRowValue(query_hash, row, 'source')
  
      timestamp = self._GetRowValue(query_hash, row, 'startTime')
      if timestamp:
        date_time = dfdatetime_posix_time.PosixTimeInMicroseconds(
            timestamp=timestamp)
        event = time_events.DateTimeValuesEvent(
            date_time, definitions.TIME_DESCRIPTION_START)
        parser_mediator.ProduceEventWithEventData(event, event_data)
  
      timestamp = self._GetRowValue(query_hash, row, 'endTime')
      if timestamp:
        date_time = dfdatetime_posix_time.PosixTimeInMicroseconds(
            timestamp=timestamp)
        event = time_events.DateTimeValuesEvent(
            date_time, definitions.TIME_DESCRIPTION_END)
        parser_mediator.ProduceEventWithEventData(event, event_data)
docs: Parses a downloads row.
  
      Args:
        parser_mediator (ParserMediator): mediates interactions between parsers
            and other components, such as storage and dfvfs.
        query (str): query that created the row.
        row (sqlite3.Row): row.