#include "third_party/blink/renderer/core/loader/frame_client_hints_preferences_context.h"
#include <algorithm>
#include "base/no_destructor.h"
#include "services/metrics/public/cpp/ukm_recorder.h"
#include "services/network/public/cpp/client_hints.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/web_feature.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "third_party/blink/renderer/platform/wtf/hash_map.h"
namespace blink {
namespace {
ClientHintToWebFeatureMap;
ClientHintToWebFeatureMap MakeClientHintToWebFeatureMap() { … }
const ClientHintToWebFeatureMap& GetClientHintToWebFeatureMap() { … }
}
FrameClientHintsPreferencesContext::FrameClientHintsPreferencesContext(
LocalFrame* frame)
: … { … }
ukm::SourceId FrameClientHintsPreferencesContext::GetUkmSourceId() { … }
ukm::UkmRecorder* FrameClientHintsPreferencesContext::GetUkmRecorder() { … }
void FrameClientHintsPreferencesContext::CountClientHints(
network::mojom::WebClientHintsType type) { … }
}