#ifndef CONTENT_TEST_STORAGE_PARTITION_TEST_HELPERS_H_
#define CONTENT_TEST_STORAGE_PARTITION_TEST_HELPERS_H_
#include "base/functional/callback.h"
#include "content/test/test_content_browser_client.h"
namespace content {
class StoragePartition;
class StoragePartitionConfig;
void InjectTestSharedWorkerService(StoragePartition* storage_partition);
void TerminateAllSharedWorkers(StoragePartition* storage_partition,
base::OnceClosure callback);
StoragePartitionConfig CreateStoragePartitionConfigForTesting(
bool in_memory = false,
const std::string& partition_domain = "",
const std::string& partition_name = "");
class CustomStoragePartitionForSomeSites : public TestContentBrowserClient { … };
}
#endif