1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-19 07:35:48 +02:00
bitwarden-browser/src/abstractions/platformUtils.service.ts
2018-01-17 13:38:44 -05:00

16 lines
398 B
TypeScript

import { DeviceType } from '../enums/deviceType';
export interface PlatformUtilsService {
getDevice(): DeviceType;
getDeviceString(): string;
isFirefox(): boolean;
isChrome(): boolean;
isEdge(): boolean;
isOpera(): boolean;
isVivaldi(): boolean;
isSafari(): boolean;
analyticsId(): string;
getDomain(uriString: string): string;
isViewOpen(): boolean;
}