#ifndef CONTENT_PUBLIC_BROWSER_CLEAR_SITE_DATA_UTILS_H_
#define CONTENT_PUBLIC_BROWSER_CLEAR_SITE_DATA_UTILS_H_
#include "base/containers/enum_set.h"
#include "base/functional/callback_forward.h"
#include "content/common/content_export.h"
#include "content/public/browser/storage_partition_config.h"
#include "net/cookies/cookie_partition_key.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
namespace url {
class Origin;
}
namespace content {
class BrowserContext;
enum class ClearSiteDataType { … };
ClearSiteDataTypeSet;
CONTENT_EXPORT void ClearSiteData(
base::WeakPtr<BrowserContext> browser_context,
const std::optional<StoragePartitionConfig> storage_partition_config,
const url::Origin& origin,
const ClearSiteDataTypeSet clear_site_data_types,
const std::set<std::string>& storage_buckets_to_remove,
bool avoid_closing_connections,
const std::optional<net::CookiePartitionKey> cookie_partition_key,
const std::optional<blink::StorageKey> storage_key,
bool partitioned_state_allowed_only,
base::OnceClosure callback);
}
#endif