#include "chrome/browser/idle/idle_detection_permission_context.h"
#include "base/test/task_environment.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/permissions/permission_request_id.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/web_contents.h"
namespace {
class TestIdleDetectionPermissionContext
: public IdleDetectionPermissionContext { … };
}
class IdleDetectionPermissionContextTest
: public ChromeRenderViewHostTestHarness { … };
TEST_F(IdleDetectionPermissionContextTest, TestDenyInIncognitoAfterDelay) { … }
TEST_F(IdleDetectionPermissionContextTest, TestParallelDenyInIncognito) { … }