chromium/third_party/blink/common/loader/network_utils.cc

// Copyright 2020 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/public/common/loader/network_utils.h"

#include "media/media_buildflags.h"
#include "net/http/http_request_headers.h"
#include "services/network/public/cpp/constants.h"
#include "services/network/public/mojom/fetch_api.mojom.h"
#include "third_party/blink/public/common/buildflags.h"

namespace blink {
namespace network_utils {

namespace {

constexpr char kJsonAcceptHeader[] =;
constexpr char kStylesheetAcceptHeader[] =;
constexpr char kWebBundleAcceptHeader[] =;

}  // namespace

bool AlwaysAccessNetwork(
    const scoped_refptr<net::HttpResponseHeaders>& headers) {}

const char* ImageAcceptHeader() {}

void SetAcceptHeader(net::HttpRequestHeaders& headers,
                     network::mojom::RequestDestination request_destination) {}

const char* GetAcceptHeaderForDestination(
    network::mojom::RequestDestination request_destination) {}

}  // namespace network_utils
}  // namespace blink