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

#include "base/not_fatal_until.h"

namespace performance_manager {
namespace execution_context_priority {

OverrideVoteAggregator::OverrideVoteAggregator() = default;

OverrideVoteAggregator::~OverrideVoteAggregator() = default;

VotingChannel OverrideVoteAggregator::GetOverrideVotingChannel() {}

VotingChannel OverrideVoteAggregator::GetDefaultVotingChannel() {}

void OverrideVoteAggregator::SetUpstreamVotingChannel(VotingChannel channel) {}

bool OverrideVoteAggregator::IsSetup() const {}

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

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

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

OverrideVoteAggregator::VoteData::VoteData() = default;
OverrideVoteAggregator::VoteData::VoteData(VoteData&& rhs) = default;
OverrideVoteAggregator::VoteData::~VoteData() = default;

void OverrideVoteAggregator::VoteData::AddVote(VoterType voter_type,
                                               const Vote& vote) {}

void OverrideVoteAggregator::VoteData::ChangeVote(VoterType voter_type,
                                                  const Vote& new_vote) {}

void OverrideVoteAggregator::VoteData::RemoveVote(VoterType voter_type) {}

bool OverrideVoteAggregator::VoteData::HasChosenVote() const {}

const Vote& OverrideVoteAggregator::VoteData::GetChosenVote() const {}

OverrideVoteAggregator::VoteDataMap::iterator
OverrideVoteAggregator::GetVoteData(const ExecutionContext* execution_context) {}

OverrideVoteAggregator::VoteData::VoterType
OverrideVoteAggregator::GetVoterType(VoterId voter_id) const {}

}  // namespace execution_context_priority
}  // namespace performance_manager