chromium/components/performance_manager/execution_context_priority/root_vote_observer.cc

// Copyright 2019 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/root_vote_observer.h"

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

namespace performance_manager {

namespace execution_context_priority {

namespace {

// Sets the priority of an execution context.
void SetPriorityAndReason(
    const execution_context::ExecutionContext* execution_context,
    const PriorityAndReason& priority_and_reason) {}

}  // namespace

RootVoteObserver::RootVoteObserver() = default;

RootVoteObserver::~RootVoteObserver() = default;

VotingChannel RootVoteObserver::GetVotingChannel() {}

void RootVoteObserver::OnVoteSubmitted(
    VoterId voter_id,
    const ExecutionContext* execution_context,
    const Vote& vote) {}

void RootVoteObserver::OnVoteChanged(VoterId voter_id,
                                     const ExecutionContext* execution_context,
                                     const Vote& new_vote) {}

void RootVoteObserver::OnVoteInvalidated(
    VoterId voter_id,
    const ExecutionContext* execution_context) {}

}  // namespace execution_context_priority
}  // namespace performance_manager