author Noemi Erli <>
Thu, 24 May 2018 18:30:36 +0300
changeset 476428 fae06a27c30119754a4522f9ec21d254d34cfc80
parent 410542 f95212c33517a22afe320c0dc65e9e2f12b5080f
child 525325 533d85bbc15d7b58b523f337e8111ee013a720fa
permissions -rw-r--r--
Backed out changeset c19f0dedfb15 (bug 1463794) for reftest failures in build/tests/reftest/tests/layout/reftests/w3c-css/submitted/shapes1/shape-outside-circle-056.html on a CLOSED TREE

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

include protocol PBackgroundIDBDatabaseFile;
include protocol PBackgroundIDBDatabaseRequest;
include protocol PBackgroundIDBFactory;
include protocol PBackgroundIDBTransaction;
include protocol PBackgroundIDBVersionChangeTransaction;
include protocol PBackgroundMutableFile;
include protocol PChildToParentStream; // FIXME: bug 792908
include protocol PFileDescriptorSet; // FIXME: bug 792908
include protocol PIPCBlobInputStream; // FIXME: bug 792908
include protocol PParentToChildStream; // FIXME: bug 792908

include IPCBlob;
include InputStreamParams;
include PBackgroundIDBSharedTypes;

include "mozilla/dom/indexedDB/SerializationHelpers.h";

using struct mozilla::null_t
  from "ipc/IPCMessageUtils.h";

using mozilla::dom::IDBTransaction::Mode
  from "mozilla/dom/IDBTransaction.h";

namespace mozilla {
namespace dom {
namespace indexedDB {

struct CreateFileParams
  nsString name;
  nsString type;

union DatabaseRequestParams

union NullableVersion

sync protocol PBackgroundIDBDatabase
  manager PBackgroundIDBFactory;

  manages PBackgroundIDBDatabaseFile;
  manages PBackgroundIDBDatabaseRequest;
  manages PBackgroundIDBTransaction;
  manages PBackgroundIDBVersionChangeTransaction;
  manages PBackgroundMutableFile;

  async DeleteMe();

  async Blocked();

  async Close();

  async PBackgroundIDBDatabaseFile(IPCBlob blob);

  async PBackgroundIDBDatabaseRequest(DatabaseRequestParams params);

  async PBackgroundIDBTransaction(nsString[] objectStoreNames, Mode mode);

  async __delete__();

  async VersionChange(uint64_t oldVersion, NullableVersion newVersion);

  async Invalidate();

  async CloseAfterInvalidationComplete();

  async PBackgroundIDBVersionChangeTransaction(uint64_t currentVersion,
                                               uint64_t requestedVersion,
                                               int64_t nextObjectStoreId,
                                               int64_t nextIndexId);

  async PBackgroundMutableFile(nsString name, nsString type);

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