Skip to content

Drop legacy ArtifactHtmlReport from chrome (base Chromium History module)#878

Merged
abrignoni merged 1 commit into
mainfrom
convert-chrome-base
Jun 22, 2026
Merged

Drop legacy ArtifactHtmlReport from chrome (base Chromium History module)#878
abrignoni merged 1 commit into
mainfrom
convert-chrome-base

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

The base Chromium chrome.py — same hybrid cleanup as #861 / #872.

Its 5 functions (get_chrome, get_chromeWebVisits, get_chromeSearchTerms, get_chromeDownloads, get_chromeKeywordSearchTerms) were already @artifact_processor-decorated and returned consolidated (Browser Name) data, but also redundantly built per-browser ArtifactHtmlReport reports + manual lava_process_artifact/lava_insert_sqlite_data tables through a shared _emit helper.

  • Removed _emit and its 5 calls, plus the now-unused imports.
  • Left get_browser_name untouched — it's imported by 9 other Chromium artifacts (from scripts.artifacts.chrome import get_browser_name); also kept _history_files and _webkit_to_utc.
  • No change to parsing, SQL, timestamps, or returned data.

Verification

  • Compiles; pylint clean (-d C,R); no leftover ArtifactHtmlReport/lava_process_artifact/lava_insert_sqlite_data/get_next_unused_name/_emit; all 5 header sets pass a live CREATE TABLE.
  • get_browser_name still importable and correct; PluginLoader 503 (unchanged) — all 5 chrome functions plus the 9 importers still load.

…ule)

Same hybrid cleanup as #861/#872: the 5 functions (get_chrome,
get_chromeWebVisits, get_chromeSearchTerms, get_chromeDownloads,
get_chromeKeywordSearchTerms) were already @artifact_processor and returned
consolidated (Browser Name) data, but also redundantly built per-browser
ArtifactHtmlReport reports + manual lava tables via an _emit helper.

Removed _emit and its 5 calls and the now-unused imports. Left
get_browser_name, _history_files, and _webkit_to_utc untouched --
get_browser_name is imported by 9 other Chromium artifacts. No change to
parsing, SQL, timestamps, or returned data.
@abrignoni abrignoni merged commit d00444f into main Jun 22, 2026
2 checks passed
@abrignoni abrignoni deleted the convert-chrome-base branch June 22, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant