#ifndef SERVICES_NETWORK_SHARED_STORAGE_SHARED_STORAGE_TEST_UTILS_H_
#define SERVICES_NETWORK_SHARED_STORAGE_SHARED_STORAGE_TEST_UTILS_H_
#include <optional>
#include <string>
#include <utility>
#include <vector>
#include "net/test/embedded_test_server/embedded_test_server.h"
namespace network {
static constexpr char kSharedStoragePathPrefix[] = …;
static constexpr char kSharedStorageWritePathSuffix[] = …;
static constexpr char kSharedStorageTestPath[] = …;
static constexpr char kSharedStorageBypassPath[] = …;
static constexpr char kSharedStorageRedirectPath[] = …;
static constexpr char kSharedStorageResponseData[] = …;
std::string MakeSharedStorageTestPath();
std::string MakeSharedStorageBypassPath();
std::string MakeSharedStorageRedirectPrefix();
class SharedStorageRequestCount { … };
class SharedStorageResponse : public net::test_server::BasicHttpResponse { … };
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);
}
#endif