#ifndef NET_DISK_CACHE_BACKEND_EXPERIMENT_H_
#define NET_DISK_CACHE_BACKEND_EXPERIMENT_H_
#include "build/build_config.h"
#include "net/base/net_export.h"
#include "net/disk_cache/buildflags.h"
namespace disk_cache {
constexpr bool IsSimpleBackendEnabledByDefaultPlatform() {
return BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) ||
BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_MAC);
}
NET_EXPORT bool InBackendExperiment();
NET_EXPORT bool InSimpleBackendExperimentGroup();
NET_EXPORT bool InBlockfileBackendExperimentGroup();
#if BUILDFLAG(ENABLE_DISK_CACHE_SQL_BACKEND)
NET_EXPORT bool InSqlBackendExperimentGroup();
#endif
}
#endif