chromium/cc/raster/task.cc

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

#include "cc/raster/task.h"

#include <ostream>
#include <utility>

#include "base/check.h"
#include "base/notreached.h"
#include "base/trace_event/trace_id_helper.h"

namespace cc {

TaskState::TaskState() :{}

TaskState::~TaskState() {}

bool TaskState::IsNew() const {}

bool TaskState::IsScheduled() const {}

bool TaskState::IsRunning() const {}

bool TaskState::IsFinished() const {}

bool TaskState::IsCanceled() const {}

void TaskState::Reset() {}

std::string TaskState::ToString() const {}

void TaskState::DidSchedule() {}

void TaskState::DidStart() {}

void TaskState::DidFinish() {}

void TaskState::DidCancel() {}

Task::Task() = default;

Task::~Task() = default;

TaskGraph::TaskGraph() = default;

TaskGraph::TaskGraph(TaskGraph&& other) = default;

TaskGraph::~TaskGraph() = default;

TaskGraph::Node::Node(scoped_refptr<Task> new_task,
                      uint16_t category,
                      uint16_t priority,
                      uint32_t dependencies)
    :{}

TaskGraph::Node::Node(Node&& other) = default;
TaskGraph::Node::~Node() = default;

void TaskGraph::Swap(TaskGraph* other) {}

void TaskGraph::Reset() {}

}  // namespace cc