chromium/third_party/blink/renderer/platform/loader/fetch/client_hints_preferences.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/loader/fetch/client_hints_preferences.h"

#include "base/command_line.h"
#include "services/metrics/public/cpp/ukm_builders.h"
#include "services/network/public/cpp/client_hints.h"
#include "services/network/public/cpp/is_potentially_trustworthy.h"
#include "third_party/blink/public/common/client_hints/client_hints.h"
#include "third_party/blink/public/common/switches.h"
#include "third_party/blink/renderer/platform/network/http_names.h"
#include "third_party/blink/renderer/platform/network/http_parsers.h"
#include "third_party/blink/renderer/platform/weborigin/kurl.h"
#include "url/origin.h"

namespace blink {

ClientHintsPreferences::ClientHintsPreferences() {}

void ClientHintsPreferences::UpdateFrom(
    const ClientHintsPreferences& preferences) {}

void ClientHintsPreferences::CombineWith(
    const ClientHintsPreferences& preferences) {}

bool ClientHintsPreferences::UpdateFromMetaCH(const String& header_value,
                                              const KURL& url,
                                              Context* context,
                                              network::MetaCHType type,
                                              bool is_doc_preloader,
                                              bool is_sync_parser) {}

// static
bool ClientHintsPreferences::IsClientHintsAllowed(const KURL& url) {}

EnabledClientHints ClientHintsPreferences::GetEnabledClientHints() const {}

bool ClientHintsPreferences::ShouldSend(
    network::mojom::WebClientHintsType type) const {}

void ClientHintsPreferences::SetShouldSend(
    network::mojom::WebClientHintsType type) {}

}  // namespace blink