15 #ifndef SHAKA_EMBEDDED_JS_IDB_TRANSACTION_H_ 16 #define SHAKA_EMBEDDED_JS_IDB_TRANSACTION_H_ 20 #include <unordered_map> 55 const std::vector<std::string>& scope);
72 void AddObjectStore(
const std::string& name);
73 void DeleteObjectStore(
const std::string& name);
93 std::list<Member<IDBRequest>> requests_;
95 std::unordered_map<std::string, Member<IDBObjectStore>> scope_;
109 AddMapping(Enum::READ_ONLY,
"readonly");
110 AddMapping(Enum::READ_WRITE,
"readwrite");
111 AddMapping(Enum::VERSION_CHANGE,
"versionchange");
114 #endif // SHAKA_EMBEDDED_JS_IDB_TRANSACTION_H_
SqliteTransaction * sqlite_transaction
Member< dom::DOMException > error
const Member< IDBDatabase > db
#define DECLARE_TYPE_INFO(type)
const IDBTransactionMode mode
DEFINE_ENUM_MAPPING(shaka::js::idb, IDBTransactionMode)