'Parse the History file.'

def Parse(self, stat, file_object, knowledge_base):

    _ = knowledge_base
    chrome = ChromeParser(file_object)
    for (timestamp, entry_type, url, data1, _, _) in chrome.Parse():
        if (entry_type == 'CHROME_DOWNLOAD'):
            (yield rdf_webhistory.BrowserHistoryItem(url=url, domain=urlparse.urlparse(url).netloc, access_time=timestamp, program_name='Chrome', source_urn=file_object.urn, download_path=data1))
        elif (entry_type == 'CHROME_VISIT'):
            (yield rdf_webhistory.BrowserHistoryItem(url=url, domain=urlparse.urlparse(url).netloc, access_time=timestamp, program_name='Chrome', source_urn=file_object.urn, title=data1))
