#include "storage/browser/quota/quota_settings.h"
#include <memory>
#include <optional>
#include <utility>
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/numerics/safe_conversions.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "storage/browser/quota/quota_device_info_helper.h"
#include "storage/browser/quota/quota_features.h"
#include "testing/gmock/include/gmock/gmock.h"
_;
namespace {
constexpr uint64_t kLowPhysicalMemory = …;
constexpr uint64_t kHighPhysicalMemory = …;
}
namespace storage {
class MockQuotaDeviceInfoHelper : public QuotaDeviceInfoHelper { … };
class QuotaSettingsTest : public testing::Test { … };
class QuotaSettingsIncognitoTest : public QuotaSettingsTest { … };
TEST_F(QuotaSettingsTest, Default) { … }
TEST_F(QuotaSettingsTest, FeatureParamsWithLargeFixedQuota) { … }
TEST_F(QuotaSettingsTest, FeatureParamsWithSmallFixedQuota) { … }
TEST_F(QuotaSettingsTest, FeatureParamsWithoutFixedQuota) { … }
TEST_F(QuotaSettingsIncognitoTest, IncognitoDynamicQuota_LowPhysicalMemory) { … }
TEST_F(QuotaSettingsIncognitoTest, IncognitoDynamicQuota_HighPhysicalMemory) { … }
}