chromium/content/browser/media/audio_stream_monitor.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/media/audio_stream_monitor.h"

#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/browser/web_contents/web_contents_impl.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/invalidate_type.h"

namespace content {

namespace {

AudioStreamMonitor* GetMonitorForRenderFrame(
    GlobalRenderFrameHostId render_frame_host_id) {}

}  // namespace

AudioStreamMonitor::AudibleClientRegistration::AudibleClientRegistration(
    GlobalRenderFrameHostId render_frame_host_id,
    AudioStreamMonitor* audio_stream_monitor)
    :{}

AudioStreamMonitor::AudibleClientRegistration::~AudibleClientRegistration() {}

bool AudioStreamMonitor::StreamID::operator<(const StreamID& other) const {}

bool AudioStreamMonitor::StreamID::operator==(const StreamID& other) const {}

AudioStreamMonitor::AudioStreamMonitor(WebContents* contents)
    :{}

AudioStreamMonitor::~AudioStreamMonitor() {}

bool AudioStreamMonitor::WasRecentlyAudible() const {}

bool AudioStreamMonitor::IsCurrentlyAudible() const {}

void AudioStreamMonitor::RenderProcessGone(int render_process_id) {}

std::unique_ptr<AudioStreamMonitor::AudibleClientRegistration>
AudioStreamMonitor::RegisterAudibleClient(
    GlobalRenderFrameHostId render_frame_host_id) {}

void AudioStreamMonitor::AddAudibleClient(
    GlobalRenderFrameHostId render_frame_host_id) {}

void AudioStreamMonitor::RemoveAudibleClient(
    GlobalRenderFrameHostId render_frame_host_id) {}

// static
void AudioStreamMonitor::StartMonitoringStream(
    GlobalRenderFrameHostId render_frame_host_id,
    int stream_id) {}

// static
void AudioStreamMonitor::StopMonitoringStream(
    GlobalRenderFrameHostId render_frame_host_id,
    int stream_id) {}

// static
void AudioStreamMonitor::UpdateStreamAudibleState(
    GlobalRenderFrameHostId render_frame_host_id,
    int stream_id,
    bool is_audible) {}

void AudioStreamMonitor::StartMonitoringStreamOnUIThread(const StreamID& sid) {}

void AudioStreamMonitor::StopMonitoringStreamOnUIThread(const StreamID& sid) {}

void AudioStreamMonitor::UpdateStreamAudibleStateOnUIThread(const StreamID& sid,
                                                            bool is_audible) {}

void AudioStreamMonitor::UpdateStreams() {}

void AudioStreamMonitor::MaybeToggle() {}

void AudioStreamMonitor::RenderFrameDeleted(
    RenderFrameHost* render_frame_host) {}

}  // namespace content