(params: {
channelsEnabled: boolean
session: StartupSession
})
| 16 | | undefined |
| 17 | |
| 18 | export function shouldSkipDevChannelsDialog(params: { |
| 19 | channelsEnabled: boolean |
| 20 | session: StartupSession |
| 21 | }): boolean { |
| 22 | if (!params.channelsEnabled) { |
| 23 | return true |
| 24 | } |
| 25 | |
| 26 | const channelAuth = buildChannelNotificationAuthState(params.session) |
| 27 | return !channelAuth.hasOauthChannelSession |
| 28 | } |
| 29 | |
| 30 | export function hasChromeStartupEligibilitySession(params: { |
| 31 | buildMode: string | undefined |
no test coverage detected