Searched refs:web_storage (Results 1 – 2 of 2) sorted by relevance
59 OHOS::NWeb::NWebWebStorage* web_storage = OHOS::NWeb::NWebHelper::Instance().GetWebStorage(); in JsDeleteAllData() local60 if (web_storage) { in JsDeleteAllData()61 web_storage->DeleteAllData(); in JsDeleteAllData()98 OHOS::NWeb::NWebWebStorage* web_storage = OHOS::NWeb::NWebHelper::Instance().GetWebStorage(); in JsDeleteOrigin() local99 if (web_storage) { in JsDeleteOrigin()100 if (web_storage->DeleteOrigin(origin) == NWebError::INVALID_ORIGIN) { in JsDeleteOrigin()122 OHOS::NWeb::NWebWebStorage* web_storage = OHOS::NWeb::NWebHelper::Instance().GetWebStorage(); in ExecuteGetOrigins() local123 if (!web_storage) { in ExecuteGetOrigins()128 std::vector<OHOS::NWeb::NWebWebStorageOrigin> origins = web_storage->GetOrigins(); in ExecuteGetOrigins()292 OHOS::NWeb::NWebWebStorage* web_storage = OHOS::NWeb::NWebHelper::Instance().GetWebStorage(); in ExecuteGetOriginUsageOrQuota() local[all …]
160 auto web_storage = NWebHelper::Instance().GetWebStorage(); variable162 if (web_storage != nullptr) {