tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

MemoryNotificationDB.sys.mjs (530B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 import { NotificationDB } from "./NotificationDB.sys.mjs";
      6 
      7 export class MemoryNotificationDB extends NotificationDB {
      8  storageQualifier() {
      9    return "MemoryNotification";
     10  }
     11 
     12  async load() {
     13    this.loaded = true;
     14  }
     15 
     16  async createStore() {}
     17  async createFile() {}
     18  async save() {}
     19 }
     20 
     21 new MemoryNotificationDB();