#include "content/browser/renderer_host/indexed_db_client_state_checker_factory.h"
#include "base/functional/bind.h"
#include "base/functional/callback_forward.h"
#include "base/test/scoped_feature_list.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/public/browser/global_routing_id.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/common/content_features.h"
#include "content/public/test/navigation_simulator.h"
#include "content/public/test/prerender_test_util.h"
#include "content/public/test/test_renderer_host.h"
#include "content/public/test/web_contents_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace content {
class IndexedDBClientStateCheckerFactoryTest
: public RenderViewHostTestHarness { … };
TEST_F(IndexedDBClientStateCheckerFactoryTest,
DisallowInactiveClient_DocumentBFCache) { … }
TEST_F(IndexedDBClientStateCheckerFactoryTest,
DisallowInactiveClient_DocumentPrerendering) { … }
}