1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

Add autofill as codeowners to ddg files (#9268)

* Add autofill as codeowners to ddg files

* Add comments
This commit is contained in:
Robyn MacCallum
2024-05-20 10:37:52 -04:00
committed by GitHub
parent d3426e7005
commit f07840339e
3 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ import { EncryptedMessageHandlerService } from "./encrypted-message-handler.serv
const EncryptionAlgorithm = "sha1";
// This service handles messages using the protocol created for the DuckDuckGo integration.
@Injectable()
export class NativeMessageHandlerService {
private ddgSharedSecret: SymmetricCryptoKey;

View File

@@ -56,6 +56,7 @@ export class NativeMessagingService {
private async messageHandler(msg: LegacyMessageWrapper | Message) {
const outerMessage = msg as Message;
if (outerMessage.version) {
// If there is a version, it is a using the protocol created for the DuckDuckGo integration
await this.nativeMessageHandler.handleMessage(outerMessage);
return;
}