chromium/content/common/fetch/fetch_request_type_converters.cc

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

#include "content/common/fetch/fetch_request_type_converters.h"

#include "net/base/load_flags.h"
#include "third_party/blink/public/common/loader/referrer_utils.h"
#include "third_party/blink/public/common/service_worker/service_worker_loader_helpers.h"
#include "ui/base/page_transition_types.h"

namespace content {

namespace {

// Converts an enum defined in net/base/load_flags.h to
// blink::mojom::FetchCacheMode.
blink::mojom::FetchCacheMode GetFetchCacheModeFromLoadFlags(int load_flags) {}

}  // namespace

blink::mojom::FetchCacheMode GetFetchCacheModeFromLoadFlagsForTest(
    int load_flags) {}

}  // namespace content

namespace mojo {

blink::mojom::FetchAPIRequestPtr TypeConverter<
    blink::mojom::FetchAPIRequestPtr,
    network::ResourceRequest>::Convert(const network::ResourceRequest& input) {}

}  // namespace mojo