nsIEdgeMigrationUtils.idl (788B)
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 #include "nsISupports.idl" 6 #include "nsIFile.idl" 7 8 /** 9 * Utilities for migrating from legacy (non-Chromimum-based) Edge. 10 */ 11 [builtinclass, scriptable, uuid(9c7b7436-a17c-4c03-ba66-aeb5ae070126)] 12 interface nsIEdgeMigrationUtils : nsISupports { 13 /** 14 * Determine if the Edge database is locked for writing. 15 * 16 * @param aFile The path to the Edge database. 17 * 18 * @returns A promise that is resolved to whether or not the given database 19 * could be opened for writing. 20 */ 21 [implicit_jscontext] 22 Promise isDbLocked(in nsIFile aFile); 23 };