dom/indexedDB/PBackgroundIDBDatabaseRequest.ipdl
author Sebastian Hengst <archaeopteryx@coole-files.de>
Mon, 31 Oct 2016 19:59:07 +0100
changeset 320276 1aa20bcbb80e1014e4d01057f7d52269b0c2d908
parent 282276 b04361fcbafcb20cfab95999b6a7b37633dd3bc7
permissions -rw-r--r--
Merge m-c to fx-team. r=merge a=merge

/* 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 protocol PBackgroundIDBDatabase;
include protocol PBackgroundMutableFile;

namespace mozilla {
namespace dom {
namespace indexedDB {

struct CreateFileRequestResponse
{
  PBackgroundMutableFile mutableFile;
};

union DatabaseRequestResponse
{
  nsresult;
  CreateFileRequestResponse;
};

protocol PBackgroundIDBDatabaseRequest
{
  manager PBackgroundIDBDatabase;

child:
  async __delete__(DatabaseRequestResponse response);
};

} // namespace indexedDB
} // namespace dom
} // namespace mozilla