mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
adapt chromium_importer to match conventions established by autofill:
• eliminate extern c and unsafe rust from chromium_importer logic (still called in prior napi/lib.rs) • use CommandInput / CommandResult JSON pattern to call objc methods • remove usage of libc to cleanup memory and remove this dependency
This commit is contained in:
2
apps/desktop/desktop_native/napi/index.d.ts
vendored
2
apps/desktop/desktop_native/napi/index.d.ts
vendored
@@ -256,7 +256,7 @@ export declare namespace chromium_importer {
|
||||
export function getMetadata(masBuild: boolean): Record<string, NativeImporterMetadata>
|
||||
export function getAvailableProfiles(browser: string): Array<ProfileInfo>
|
||||
export function importLogins(browser: string, profileId: string, masBuild: boolean): Promise<Array<LoginImportResult>>
|
||||
export function requestBrowserAccess(browser: string, masBuild: boolean): void
|
||||
export function requestBrowserAccess(browser: string, masBuild: boolean): Promise<void>
|
||||
}
|
||||
export declare namespace autotype {
|
||||
export function getForegroundWindowTitle(): string
|
||||
|
||||
Reference in New Issue
Block a user