#include "content/browser/renderer_host/navigation_transitions/navigation_transition_config.h"
#include "base/system/sys_info.h"
#include "content/public/common/content_features.h"
#include "third_party/blink/public/common/features.h"
#include "ui/display/screen.h"
namespace content {
namespace {
const base::FeatureParam<int> kMaxScreenshotCount{ … };
const base::FeatureParam<int> kMaxCacheSize{ … };
const base::FeatureParam<double> kPercentageOfRamToUse{ … };
const base::FeatureParam<base::TimeDelta> kInvisibleCacheCleanupDelay{ … };
size_t GetMaxCacheSizeInBytes() { … }
}
bool NavigationTransitionConfig::AreBackForwardTransitionsEnabled() { … }
size_t NavigationTransitionConfig::ComputeCacheSizeInBytes() { … }
base::TimeDelta
NavigationTransitionConfig::GetCleanupDelayForInvisibleCaches() { … }
}