browser/components/migration/nsIEdgeReadingListExtractor.idl
author Jorg K <mozilla@jorgk.com>
Sun, 11 Oct 2015 18:13:10 +0200
changeset 267227 2bc41a7237cc1ed2a01217a6d76523ecb6fb56b6
parent 259833 ef82210d0bf3eacbace4b7c7859d88d5cb16461a
permissions -rw-r--r--
Bug 1209414 - New test for manual dictionary change. r=ehsan

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

interface nsIArray;

[scriptable, uuid(bfdef4aa-dcd1-4d31-b5d9-188fe8d98623)]
interface nsIEdgeReadingListExtractor : nsISupports
{
  /**
   * Import data from the database indicated by the databasePath
   * May fail if the path is invalid, unreadable, the database is corrupt,
   * or the data in the database is not in the format we expect.
   *
   * @param  databasePath the absolute path to the database we'd like to import
   * @return an enumerator of nsIPropertyBag2 items that each have a URL, title, and
   *         creation dates.
   */
  nsIArray extract(in DOMString databasePath);
};