#include "chrome/browser/ui/webui/predictors/predictors_handler.h"
#include <memory>
#include <string>
#include <utility>
#include "base/functional/bind.h"
#include "base/values.h"
#include "chrome/browser/predictors/autocomplete_action_predictor.h"
#include "chrome/browser/predictors/autocomplete_action_predictor_factory.h"
#include "chrome/browser/predictors/loading_predictor.h"
#include "chrome/browser/predictors/loading_predictor_factory.h"
#include "chrome/browser/predictors/resource_prefetch_predictor_tables.h"
#include "chrome/browser/profiles/profile.h"
#include "content/public/browser/web_ui.h"
AutocompleteActionPredictor;
ResourcePrefetchPredictor;
ResourcePrefetchPredictorTables;
PredictorsHandler::PredictorsHandler(Profile* profile) { … }
PredictorsHandler::~PredictorsHandler() { … }
void PredictorsHandler::RegisterMessages() { … }
void PredictorsHandler::RequestAutocompleteActionPredictorDb(
const base::Value::List& args) { … }
void PredictorsHandler::RequestResourcePrefetchPredictorDb(
const base::Value::List& args) { … }
void PredictorsHandler::AddOriginDataMapToListValue(
const std::map<std::string, predictors::OriginData>& data_map,
base::Value::List* db) const { … }