chromium/chrome/browser/visibility_timer_tab_helper.cc

// 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 <utility>

#include "base/functional/callback_helpers.h"
#include "base/logging.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "content/public/browser/visibility.h"
#include "content/public/browser/web_contents.h"

WEB_CONTENTS_USER_DATA_KEY_IMPL(VisibilityTimerTabHelper);

struct VisibilityTimerTabHelper::Task {};

VisibilityTimerTabHelper::~VisibilityTimerTabHelper() = default;

void VisibilityTimerTabHelper::PostTaskAfterVisibleDelay(
    const base::Location& from_here,
    base::OnceClosure task,
    base::TimeDelta visible_delay) {}

void VisibilityTimerTabHelper::OnVisibilityChanged(
    content::Visibility visibility) {}

VisibilityTimerTabHelper::VisibilityTimerTabHelper(
    content::WebContents* contents)
    :{}

void VisibilityTimerTabHelper::RunTask(base::OnceClosure task) {}

void VisibilityTimerTabHelper::StartNextTaskTimer() {}