mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
Split native messaging into renderer and background service. Encrypt messages and verify timestamp
This commit is contained in:
@@ -45,12 +45,12 @@ export class MessagingMain {
|
||||
this.main.trayMain.hideToTray();
|
||||
break;
|
||||
case 'enableBrowserIntegration':
|
||||
this.main.nativeMessagingService.generateManifests();
|
||||
this.main.nativeMessagingService.listen();
|
||||
this.main.nativeMessagingMain.generateManifests();
|
||||
this.main.nativeMessagingMain.listen();
|
||||
break;
|
||||
case 'disableBrowserIntegration':
|
||||
this.main.nativeMessagingService.removeManifests();
|
||||
this.main.nativeMessagingService.stop();
|
||||
this.main.nativeMessagingMain.removeManifests();
|
||||
this.main.nativeMessagingMain.stop();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user