chromium

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 27 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package chromium is the Chromium base: profile discovery, file parsing, and where a user data dir's keys come from.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiveFileSpecs

func ArchiveFileSpecs() []browser.FileSpec

ArchiveFileSpecs add each profile's marker, by which restore rediscovers the profiles, and Local State as v1.1.0 did.

func Discover

func Discover(chromiumBrowser browser.Browser, options browser.DiscoverOptions) ([]browser.UserDataDir, error)

Discover yields nothing for a missing user data dir; any other failure is returned beside whatever was found.

func DiscoverAt

func DiscoverAt(chromiumBrowser browser.Browser, id browser.UserDataDirID, path string) (browser.UserDataDir, error)

DiscoverAt reads the profiles of a user data dir the table does not name, such as a copy restore was given.

func FormatName

func FormatName(kind, name string) (string, error)

FormatName is the browser Name whose extractors read a vault of kind; a plain Chromium vault keeps its own name.

func KeyFileSpecs

func KeyFileSpecs() []browser.FileSpec

KeyFileSpecs are the files KeyLocator reads from a snapshot.

func KeyLocator

func KeyLocator(dir browser.UserDataDir, dirSnapshot snapshot.Snapshot) (masterkey.Locator, error)

KeyLocator leaves the run's login keychain to the caller, which adds it to the Locator on macOS.

func VaultKind

func VaultKind(chromiumBrowser browser.Browser) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL