()
| 26 | } |
| 27 | |
| 28 | export async function loggedIn(): Promise<void> { |
| 29 | await Promise.all([ |
| 30 | chrome.action.setPopup({ popup: 'logged_in_popup.html' }), |
| 31 | chrome.action.setBadgeText({ text: '' }), |
| 32 | chrome.action.setIcon({ |
| 33 | path: { |
| 34 | 16: '/icons/16/codeium_square_logo.png', |
| 35 | 32: '/icons/32/codeium_square_logo.png', |
| 36 | 48: '/icons/48/codeium_square_logo.png', |
| 37 | 128: '/icons/128/codeium_square_logo.png', |
| 38 | }, |
| 39 | }), |
| 40 | chrome.action.setTitle({ title: 'Codeium' }), |
| 41 | clearLastError(), |
| 42 | ]); |
| 43 | } |
| 44 | |
| 45 | export async function unhealthy(message: string): Promise<void> { |
| 46 | // We don't set the badge text on purpose. |
no test coverage detected