mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Refactor for barrels. Utils service to jslib
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
import CipherService from '../services/cipher.service';
|
||||
|
||||
import { PlatformUtilsService } from '@bitwarden/jslib';
|
||||
import { Abstractions } from '@bitwarden/jslib';
|
||||
|
||||
export default class WebRequestBackground {
|
||||
private pendingAuthRequests: any[] = [];
|
||||
private webRequest: any;
|
||||
private isFirefox: boolean;
|
||||
|
||||
constructor(private platformUtilsService: PlatformUtilsService, private cipherService: CipherService) {
|
||||
constructor(private platformUtilsService: Abstractions.PlatformUtilsService,
|
||||
private cipherService: CipherService) {
|
||||
this.webRequest = (window as any).chrome.webRequest;
|
||||
this.isFirefox = platformUtilsService.isFirefox();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user