chromium/content/browser/shared_storage/shared_storage_url_loader_factory_proxy_unittest.cc

// Copyright 2021 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/browser/shared_storage/shared_storage_url_loader_factory_proxy.h"

#include <stdint.h>

#include <vector>

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/ref_counted.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "mojo/public/cpp/bindings/pending_receiver.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/system/functions.h"
#include "net/base/isolation_info.h"
#include "net/cookies/site_for_cookies.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/mojom/url_loader_factory.mojom.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
#include "url/origin.h"

namespace content {

namespace {

const char kContextUrl[] =;
const char kSameOriginScriptUrl[] =;
const char kCrossOriginScriptUrl[] =;

// Values for the Accept header.
const char kAcceptJavascript[] =;

enum class DataOriginCase {};

}  // namespace

class SharedStorageURLLoaderFactoryProxyTest
    : public testing::TestWithParam<DataOriginCase> {};

namespace {

std::string DescribeTestParam(
    const testing::TestParamInfo<
        SharedStorageURLLoaderFactoryProxyTest::ParamType>& info) {}

}  // namespace

INSTANTIATE_TEST_SUITE_P();

TEST_P(SharedStorageURLLoaderFactoryProxyTest, Basic) {}

}  // namespace content