chromium/components/performance_manager/execution_context_priority/frame_audible_voter.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 "components/performance_manager/execution_context_priority/frame_audible_voter.h"

#include <utility>

#include "components/performance_manager/public/execution_context/execution_context_registry.h"
#include "components/performance_manager/public/graph/graph.h"

namespace performance_manager {
namespace execution_context_priority {

namespace {

const execution_context::ExecutionContext* GetExecutionContext(
    const FrameNode* frame_node) {}

// Returns a vote with the appropriate priority depending on if the frame is
// audible.
Vote GetVote(bool is_audible) {}

}  // namespace

// static
const char FrameAudibleVoter::kFrameAudibleReason[] =;

FrameAudibleVoter::FrameAudibleVoter(VotingChannel voting_channel)
    :{}

FrameAudibleVoter::~FrameAudibleVoter() = default;

void FrameAudibleVoter::InitializeOnGraph(Graph* graph) {}

void FrameAudibleVoter::TearDownOnGraph(Graph* graph) {}

void FrameAudibleVoter::OnFrameNodeInitializing(const FrameNode* frame_node) {}

void FrameAudibleVoter::OnFrameNodeTearingDown(const FrameNode* frame_node) {}

void FrameAudibleVoter::OnIsAudibleChanged(const FrameNode* frame_node) {}

}  // namespace execution_context_priority
}  // namespace performance_manager