1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include protocol PBackgroundFileHandle;
6 include protocol PBackgroundIDBDatabase;
8 include "mozilla/dom/filehandle/SerializationHelpers.h";
10 using mozilla::dom::FileMode
11 from "mozilla/dom/FileModeBinding.h";
16 sync protocol PBackgroundMutableFile
18 manager PBackgroundIDBDatabase;
20 manages PBackgroundFileHandle;
25 async PBackgroundFileHandle(FileMode mode);
27 // Use only for testing!
29 returns (int64_t fileId);
36 } // namespace mozilla