chromium/chrome/browser/ui/recently_audible_helper.cc

// Copyright 2018 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/ui/recently_audible_helper.h"

#include "base/no_destructor.h"
#include "base/time/default_tick_clock.h"

namespace {

const base::TickClock* GetDefaultTickClock() {}

}  // namespace

// static
constexpr base::TimeDelta RecentlyAudibleHelper::kRecentlyAudibleTimeout;

RecentlyAudibleHelper::~RecentlyAudibleHelper() = default;

bool RecentlyAudibleHelper::WasEverAudible() const {}

bool RecentlyAudibleHelper::IsCurrentlyAudible() const {}

bool RecentlyAudibleHelper::WasRecentlyAudible() const {}

base::CallbackListSubscription
RecentlyAudibleHelper::RegisterCallbackForTesting(const Callback& callback) {}

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

void RecentlyAudibleHelper::OnAudioStateChanged(bool audible) {}

void RecentlyAudibleHelper::OnRecentlyAudibleTimerFired() {}

void RecentlyAudibleHelper::TransitionToNotCurrentlyAudible() {}

void RecentlyAudibleHelper::SetTickClockForTesting(
    const base::TickClock* tick_clock) {}

void RecentlyAudibleHelper::SetCurrentlyAudibleForTesting() {}

void RecentlyAudibleHelper::SetRecentlyAudibleForTesting() {}

void RecentlyAudibleHelper::SetNotRecentlyAudibleForTesting() {}

WEB_CONTENTS_USER_DATA_KEY_IMPL(RecentlyAudibleHelper);