| 10 | // TODO(bershanskiy): Add support for reads/writes of multiple keys at once for performance. |
| 11 | // TODO(bershanskiy): Popup UI heeds only hasCustom*Fixes() and nothing else. Consider storing that data separately. |
| 12 | interface DevToolsStorage { |
| 13 | get(key: string): Promise<string | null>; |
| 14 | set(key: string, value: string): Promise<void> | void; |
| 15 | remove(key: string): Promise<void> | void; |
| 16 | has(key: string): Promise<boolean> | boolean; |
| 17 | } |
| 18 | |
| 19 | class PersistentStorageWrapper implements DevToolsStorage { |
| 20 | // Cache information within background context for future use without waiting. |
no outgoing calls
no test coverage detected