// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/visibility_timer_tab_helper.h" #include "base/test/bind.h" #include "base/test/task_environment.h" #include "chrome/test/base/chrome_render_view_host_test_harness.h" #include "content/public/browser/web_contents.h" class VisibilityTimerTabHelperTest : public ChromeRenderViewHostTestHarness { … }; TEST_F(VisibilityTimerTabHelperTest, Delay) { … } TEST_F(VisibilityTimerTabHelperTest, TasksAreQueuedInDormantState) { … }