chromium/components/dom_distiller/core/task_tracker.cc

// Copyright 2013 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/dom_distiller/core/task_tracker.h"

#include <stddef.h>

#include <memory>
#include <utility>

#include "base/auto_reset.h"
#include "base/location.h"
#include "base/observer_list.h"
#include "base/task/single_thread_task_runner.h"
#include "components/dom_distiller/core/distilled_content_store.h"
#include "components/dom_distiller/core/proto/distilled_article.pb.h"
#include "components/dom_distiller/core/proto/distilled_page.pb.h"

namespace dom_distiller {

ViewerHandle::ViewerHandle(CancelCallback callback)
    :{}

ViewerHandle::~ViewerHandle() {}

TaskTracker::TaskTracker(const ArticleEntry& entry,
                         CancelCallback callback,
                         DistilledContentStore* content_store)
    :{}

TaskTracker::~TaskTracker() {}

void TaskTracker::StartDistiller(
    DistillerFactory* factory,
    std::unique_ptr<DistillerPage> distiller_page) {}

void TaskTracker::StartBlobFetcher() {}

void TaskTracker::AddSaveCallback(SaveCallback callback) {}

std::unique_ptr<ViewerHandle> TaskTracker::AddViewer(
    ViewRequestDelegate* delegate) {}

const std::string& TaskTracker::GetEntryId() const {}

bool TaskTracker::HasEntryId(const std::string& entry_id) const {}

bool TaskTracker::HasUrl(const GURL& url) const {}

void TaskTracker::RemoveViewer(ViewRequestDelegate* delegate) {}

void TaskTracker::MaybeCancel() {}

void TaskTracker::CancelSaveCallbacks() {}

void TaskTracker::ScheduleSaveCallbacks(bool distillation_succeeded) {}

void TaskTracker::OnDistillerFinished(
    std::unique_ptr<DistilledArticleProto> distilled_article) {}

void TaskTracker::CancelPendingSources() {}

void TaskTracker::OnBlobFetched(
    bool success,
    std::unique_ptr<DistilledArticleProto> distilled_article) {}

bool TaskTracker::IsAnySourceRunning() const {}

void TaskTracker::ContentSourceFinished() {}

void TaskTracker::DistilledArticleReady(
    std::unique_ptr<DistilledArticleProto> distilled_article) {}

void TaskTracker::NotifyViewersAndCallbacks() {}

void TaskTracker::NotifyViewer(ViewRequestDelegate* delegate) {}

void TaskTracker::DoSaveCallbacks(bool success) {}

void TaskTracker::OnArticleDistillationUpdated(
    const ArticleDistillationUpdate& article_update) {}

void TaskTracker::AddDistilledContentToStore(
    const DistilledArticleProto& content) {}

}  // namespace dom_distiller