Documentation
¶
Overview ¶
Package chromium is the Chromium base: profile discovery, file parsing, and where a user data dir's keys come from.
Index ¶
- func ArchiveFileSpecs() []browser.FileSpec
- func Discover(chromiumBrowser browser.Browser, options browser.DiscoverOptions) ([]browser.UserDataDir, error)
- func DiscoverAt(chromiumBrowser browser.Browser, id browser.UserDataDirID, path string) (browser.UserDataDir, error)
- func Extractors(dir browser.UserDataDir, _ browser.Profile) browser.Extractors
- func FormatName(kind, name string) (string, error)
- func KeyFileSpecs() []browser.FileSpec
- func KeyLocator(dir browser.UserDataDir, dirSnapshot snapshot.Snapshot) (masterkey.Locator, error)
- func VaultKind(chromiumBrowser browser.Browser) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArchiveFileSpecs ¶
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 Extractors ¶
func Extractors(dir browser.UserDataDir, _ browser.Profile) browser.Extractors
func FormatName ¶
FormatName is the browser Name whose extractors read a vault of kind; a plain Chromium vault keeps its own name.
func KeyFileSpecs ¶
KeyFileSpecs are the files KeyLocator reads from a snapshot.
func KeyLocator ¶
KeyLocator leaves the run's login keychain to the caller, which adds it to the Locator on macOS.
Types ¶
This section is empty.