#include "content/browser/renderer_host/back_forward_cache_impl.h"
#include "base/test/scoped_feature_list.h"
#include "content/test/test_render_frame_host.h"
#include "content/test/test_render_view_host.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/scheduler/web_scheduler_tracked_feature.h"
namespace content {
class BackForwardCacheImplTest : public RenderViewHostImplTestHarness { … };
TEST_F(BackForwardCacheImplTest, CrossOriginReachableFrameCount) { … }
TEST_F(BackForwardCacheImplTest, CrossOriginAllMasked) { … }
class BackForwardCacheImplTestExposeCrossOrigin
: public BackForwardCacheImplTest { … };
TEST_F(BackForwardCacheImplTestExposeCrossOrigin, FirstCrossOriginReachable) { … }
TEST_F(BackForwardCacheImplTestExposeCrossOrigin, SecondCrossOriginReachable) { … }
class BackForwardCacheActiveSizeTest : public ::testing::Test { … };
TEST_F(BackForwardCacheActiveSizeTest, ActiveCacheSize) { … }
class BackForwardCacheOverwriteSizeTest : public ::testing::Test { … };
TEST_F(BackForwardCacheOverwriteSizeTest, OverwrittenCacheSize) { … }
class BackForwardCacheDefaultSizeTest : public ::testing::Test { … };
TEST_F(BackForwardCacheDefaultSizeTest, DefaultCacheSize) { … }
}