2013-10-02 10:27:07 -07:00
|
|
|
/* -*- 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 nsIDOMWindow;
|
|
|
|
|
|
|
|
[scriptable, uuid(d193d0e2-c677-4a7b-bb0a-19155b470f2e)]
|
|
|
|
interface nsIDataStoreService : nsISupports
|
|
|
|
{
|
|
|
|
void installDataStore(in unsigned long appId,
|
|
|
|
in DOMString name,
|
|
|
|
in DOMString manifestURL,
|
|
|
|
in boolean readOnly);
|
|
|
|
|
2013-10-02 10:27:14 -07:00
|
|
|
void installAccessDataStore(in unsigned long appId,
|
|
|
|
in DOMString name,
|
|
|
|
in DOMString manifestURL,
|
|
|
|
in boolean readOnly);
|
|
|
|
|
2013-10-02 10:27:07 -07:00
|
|
|
nsISupports getDataStores(in nsIDOMWindow window,
|
|
|
|
in DOMString name);
|
|
|
|
};
|