chromium/components/performance_manager/execution_context_priority/frame_capturing_media_stream_voter.cc

// Copyright 2023 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_capturing_media_stream_voter.h"

#include <utility>

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

namespace performance_manager::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
// capturing media.
Vote GetVote(bool is_capturing_media_stream) {}

}  // namespace

// static
const char FrameCapturingMediaStreamVoter::kFrameCapturingMediaStreamReason[] =;

FrameCapturingMediaStreamVoter::FrameCapturingMediaStreamVoter(
    VotingChannel voting_channel)
    :{}

FrameCapturingMediaStreamVoter::~FrameCapturingMediaStreamVoter() = default;

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

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

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

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

void FrameCapturingMediaStreamVoter::OnIsCapturingMediaStreamChanged(
    const FrameNode* frame_node) {}

}  // namespace performance_manager::execution_context_priority