dom/datastore/nsIDataStore.idl
author Jim Chen <nchen@mozilla.com>
Wed, 20 Apr 2016 15:06:13 -0400
changeset 294085 ca46a5d6f50d85924e59a63a189b17ee49510975
parent 282388 e22b3043887ed36bf2c634c2924a7c8d39d226b1
permissions -rw-r--r--
Bug 1252650 - Update generated JNI bindings; r=me

/* -*- 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 mozIDOMWindow;

// NOTE: This is a temporary interface.
// It will be removed in the next patches for rewriting DataStore in C++.
[scriptable, uuid(14f4bae7-dd01-4d1d-81e1-f8fd1e463b5f)]
interface nsIDataStore : nsISupports
{
  void init(in mozIDOMWindow window,
            in DOMString name,
            in DOMString manifestURL,
            in boolean readOnly);

  attribute jsval exposedObject;

  void retrieveRevisionId(in jsval cb);
};