chromium/services/network/shared_storage/shared_storage_test_utils.cc

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

#include "services/network/shared_storage/shared_storage_test_utils.h"

#include <optional>
#include <string>
#include <utility>
#include <vector>

#include "base/strings/strcat.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "net/test/embedded_test_server/embedded_test_server.h"
#include "services/network/shared_storage/shared_storage_header_utils.h"
#include "url/url_util.h"

namespace network {

// static
size_t SharedStorageRequestCount::Get() {}

// static
size_t SharedStorageRequestCount::Increment() {}

// static
void SharedStorageRequestCount::Reset() {}

// static
size_t SharedStorageRequestCount::count_ =;

std::string MakeSharedStorageTestPath() {}

std::string MakeSharedStorageBypassPath() {}

std::string MakeSharedStorageRedirectPrefix() {}

SharedStorageResponse::SharedStorageResponse(std::string shared_storage_write)
    :{}

SharedStorageResponse::SharedStorageResponse(net::HttpStatusCode code,
                                             std::string new_location)
    :{}

SharedStorageResponse::SharedStorageResponse(std::string shared_storage_write,
                                             net::HttpStatusCode code,
                                             std::string new_location)
    :{}

SharedStorageResponse::~SharedStorageResponse() = default;

void SharedStorageResponse::SendResponse(
    base::WeakPtr<net::test_server::HttpResponseDelegate> delegate) {}

std::unique_ptr<net::test_server::HttpResponse>
HandleSharedStorageRequestSimple(std::string shared_storage_write,
                                 const net::test_server::HttpRequest& request) {}

std::unique_ptr<net::test_server::HttpResponse>
HandleSharedStorageRequestMultiple(
    std::vector<std::string> shared_storage_write_headers,
    const net::test_server::HttpRequest& request) {}

}  // namespace network