#ifndef CHROME_BROWSER_PREDICTORS_LOADING_STATS_COLLECTOR_H_
#define CHROME_BROWSER_PREDICTORS_LOADING_STATS_COLLECTOR_H_
#include <map>
#include <memory>
#include <optional>
#include <utility>
#include "base/memory/raw_ptr.h"
#include "base/strings/string_util.h"
#include "base/time/time.h"
#include "url/gurl.h"
namespace predictors {
struct OptimizationGuidePrediction;
class ResourcePrefetchPredictor;
struct PreconnectStats;
struct LoadingPredictorConfig;
struct PageRequestSummary;
namespace internal {
constexpr char kResourcePrefetchPredictorRedirectStatusHistogram[] = …;
constexpr char kLoadingPredictorPreconnectLearningPrecision[] = …;
constexpr char kLoadingPredictorPreconnectLearningRecall[] = …;
constexpr char kLoadingPredictorPreconnectLearningCount[] = …;
constexpr char kLoadingPredictorPreconnectLearningRedirectStatus[] = …;
constexpr char kLoadingPredictorPreresolveHitsPercentage[] = …;
constexpr char kLoadingPredictorPreconnectHitsPercentage[] = …;
constexpr char kLoadingPredictorPreresolveCount[] = …;
constexpr char kLoadingPredictorPreconnectCount[] = …;
}
class LoadingStatsCollector { … };
}
#endif