/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/inspector/storage_agent.h
33 строки
920 B
Ryuhei Shima
inspector: initial support storage inspection
23 янв 2026, 17:51
Не верифицирован
23 янв 2026, 17:51
ec56413
Код
Авторство
О чём код?
#ifndef SRC_INSPECTOR_STORAGE_AGENT_H_ #define SRC_INSPECTOR_STORAGE_AGENT_H_ #include "env.h" #include "node/inspector/protocol/Storage.h" namespace node { namespace inspector { namespace protocol { class StorageAgent : public protocol::Storage::Backend { public: explicit StorageAgent(Environment* env); ~StorageAgent() override; void Wire(protocol::UberDispatcher* dispatcher); DispatchResponse getStorageKey(std::optional<protocol::String> frameId, protocol::String* storageKey) override; StorageAgent(const StorageAgent&) = delete; StorageAgent& operator=(const StorageAgent&) = delete; private: std::string to_absolute_path(const std::filesystem::path& input); std::unique_ptr<protocol::Storage::Frontend> frontend_; Environment* env_; }; } // namespace protocol } // namespace inspector } // namespace node #endif // SRC_INSPECTOR_STORAGE_AGENT_H_