Skip to content

Commit

Permalink
feat: chrome.topSites.get stub
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Dec 17, 2024
1 parent 21d144b commit 946c25b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/electron-chrome-extensions/src/renderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,14 @@ export const injectExtensionAPIs = () => {
},
},

topSites: {
factory: () => {
return {
get: invokeExtension('topSites.get', { noop: true, defaultResponse: [] }),
}
},
},

webNavigation: {
factory: (base) => {
return {
Expand Down

0 comments on commit 946c25b

Please sign in to comment.