Skip to content

Commit

Permalink
feat: privacy.services settings stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Feb 2, 2025
1 parent f4eeaa5 commit c2d58c8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/electron-chrome-extensions/src/renderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ export const injectExtensionAPIs = () => {
set() {}
get() {}
clear() {}
// onChange: chrome.types.ChromeSettingChangedEvent
onChange = {
addListener: () => {},
}
}

type DeepPartial<T> = {
Expand Down Expand Up @@ -392,6 +394,11 @@ export const injectExtensionAPIs = () => {
networkPredictionEnabled: new ChromeSetting(),
webRTCIPHandlingPolicy: new ChromeSetting(),
},
services: {
autofillAddressEnabled: new ChromeSetting(),
autofillCreditCardEnabled: new ChromeSetting(),
passwordSavingEnabled: new ChromeSetting(),
},
websites: {
hyperlinkAuditingEnabled: new ChromeSetting(),
},
Expand Down

0 comments on commit c2d58c8

Please sign in to comment.