chromium/net/base/prioritized_dispatcher.cc

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

#include "net/base/prioritized_dispatcher.h"

#include <ostream>

#include "base/check_op.h"

namespace net {

PrioritizedDispatcher::Limits::Limits(Priority num_priorities,
                                      size_t total_jobs)
    :{}

PrioritizedDispatcher::Limits::Limits(const Limits& other) = default;

PrioritizedDispatcher::Limits::~Limits() = default;

PrioritizedDispatcher::PrioritizedDispatcher(const Limits& limits)
    :{}

PrioritizedDispatcher::~PrioritizedDispatcher() = default;

PrioritizedDispatcher::Handle PrioritizedDispatcher::Add(
    Job* job, Priority priority) {}

PrioritizedDispatcher::Handle PrioritizedDispatcher::AddAtHead(
    Job* job, Priority priority) {}

void PrioritizedDispatcher::Cancel(const Handle& handle) {}

PrioritizedDispatcher::Job* PrioritizedDispatcher::EvictOldestLowest() {}

PrioritizedDispatcher::Handle PrioritizedDispatcher::ChangePriority(
    const Handle& handle, Priority priority) {}

void PrioritizedDispatcher::OnJobFinished() {}

PrioritizedDispatcher::Limits PrioritizedDispatcher::GetLimits() const {}

void PrioritizedDispatcher::SetLimits(const Limits& limits) {}

void PrioritizedDispatcher::SetLimitsToZero() {}

bool PrioritizedDispatcher::MaybeDispatchJob(const Handle& handle,
                                             Priority job_priority) {}

bool PrioritizedDispatcher::MaybeDispatchNextJob() {}

}  // namespace net