15 #ifndef SHAKA_EMBEDDED_JS_IDB_DATABASE_H_ 16 #define SHAKA_EMBEDDED_JS_IDB_DATABASE_H_ 51 IDBDatabase(std::shared_ptr<SqliteConnection> connection,
52 const std::string&
name, int64_t version,
53 const std::vector<std::string>& store_names);
62 return close_pending_;
74 variant<std::string, std::vector<std::string>> store_names,
79 version_change_trans_ = trans;
84 std::shared_ptr<SqliteConnection> connection_;
85 bool close_pending_ =
false;
98 #endif // SHAKA_EMBEDDED_JS_IDB_DATABASE_H_
DECLARE_STRUCT_SPECIAL_METHODS_COPYABLE(IDBObjectStoreParameters)
Member< dom::DOMStringList > object_store_names
void VersionChangeTransaction(RefPtr< IDBTransaction > trans)
const std::string db_name
Listener on_version_change
void Trace(memory::HeapTracer *tracer) const override
#define DECLARE_TYPE_INFO(type)
ADD_DICT_FIELD(keyPath, std::string)