#include "components/optimization_guide/core/model_execution/response_parser_registry.h"
#include <memory>
#include "base/functional/callback.h"
#include "base/no_destructor.h"
#include "components/optimization_guide/core/model_execution/aqa_response_parser.h"
#include "components/optimization_guide/core/model_execution/json_response_parser.h"
#include "components/optimization_guide/core/model_execution/simple_response_parser.h"
namespace optimization_guide {
ResponseParserRegistry::ResponseParserRegistry() { … }
ResponseParserRegistry::~ResponseParserRegistry() = default;
const ResponseParserRegistry& ResponseParserRegistry::Get() { … }
std::unique_ptr<ResponseParser> ResponseParserRegistry::CreateParser(
const proto::OnDeviceModelExecutionOutputConfig& config) const { … }
}