32 constexpr
const char* kDbFileName =
"shaka_indexeddb.db";
38 IDBFactory::~IDBFactory() {}
44 const std::string db_path =
48 [=]() { request->DoOperation(db_path); });
57 [=]() { request->DoOperation(
""); });
63 const std::string db_path =
67 [=]() { request->DoOperation(db_path); });
84 NotImplemented(
"cmp");
ExceptionOr< Any > CloneForTesting(Any value)
Any LoadFromProto(const proto::Value &value)
std::string GetPathForDynamicFile(const std::string &file) const
ExceptionOr< void > StoreInProto(Any input, proto::Value *result)
RefPtr< IDBOpenDBRequest > Open(const std::string &name, optional< uint64_t > version)
RefPtr< IDBRequest > DeleteDatabase(const std::string &name)
RefPtr< IDBOpenDBRequest > OpenTestDb()
#define RETURN_IF_ERROR(code)
static JsManagerImpl * Instance()
std::shared_ptr< ThreadEvent< impl::RetOf< Func > > > AddInternalTask(TaskPriority priority, const std::string &name, Func &&callback)
TaskRunner * MainThread()