PBackgroundIDBVersionChangeTransaction.ipdl 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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/. */
  4. include protocol PBackgroundIDBCursor;
  5. include protocol PBackgroundIDBDatabase;
  6. include protocol PBackgroundIDBDatabaseFile;
  7. include protocol PBackgroundIDBRequest;
  8. include protocol PBackgroundMutableFile;
  9. include protocol PBlob;
  10. include PBackgroundIDBSharedTypes;
  11. namespace mozilla {
  12. namespace dom {
  13. namespace indexedDB {
  14. protocol PBackgroundIDBVersionChangeTransaction
  15. {
  16. manager PBackgroundIDBDatabase;
  17. manages PBackgroundIDBCursor;
  18. manages PBackgroundIDBRequest;
  19. parent:
  20. async DeleteMe();
  21. async Commit();
  22. async Abort(nsresult resultCode);
  23. async CreateObjectStore(ObjectStoreMetadata metadata);
  24. async DeleteObjectStore(int64_t objectStoreId);
  25. async RenameObjectStore(int64_t objectStoreId,
  26. nsString name);
  27. async CreateIndex(int64_t objectStoreId,
  28. IndexMetadata metadata);
  29. async DeleteIndex(int64_t objectStoreId,
  30. int64_t indexId);
  31. async RenameIndex(int64_t objectStoreId,
  32. int64_t indexId,
  33. nsString name);
  34. async PBackgroundIDBCursor(OpenCursorParams params);
  35. async PBackgroundIDBRequest(RequestParams params);
  36. child:
  37. async __delete__();
  38. async Complete(nsresult result);
  39. };
  40. } // namespace indexedDB
  41. } // namespace dom
  42. } // namespace mozilla